How can I stop the water from coming in?

I posted this in another sub and was recommended this sub. I am having water come in my basement from between the top plate and the foundation wall. The top of the foundation is well above ground level so I don’t believe it’s a drainage issue/can be solved with something like a French drain. It could be not having a proper brick layer or flashing, but not 100% sure. Any thoughts on what is causing this and how to fix it?