the lord moves in mysterious ways

The lord moves in mysterious ways is a way of expressing confidence that a conundrum has a solution despite the fact that the solution may not be obvious or completely apparent. It can also mean that what seems like an unfortunate or unpleasant situation or change may actually end of being beneficial to you later on. By referring the lord as working in mysterious ways, it means things that do or do not happen have a meaning, even if you cant see it yet.