Egypt learned about God from the plagues.

Israel learned about God from the plagues, the wilderness, manna, rock, quail, and brass serpent.

Don't be too worried when the universe seems to be against you. Troubles are often a sign that God loves you and wants you to learn something important.