Exodus 3:7 (KJV) And the LORD said, I have surely seen the affliction of my people which are in Egypt, and have heard their cry by reason of their taskmasters; for I know their sorrows;
The ancient Israelites were suffering under the oppression of Egypt. But their cries did not go unheard, God saw their situation, heard their pleas, and took action. When we encounter suffering, He sees our needs and hears our cries, too. And we can trust that, even if it takes some time, He is working out a plan for our deliverance just as He did for Israel long ago.
Psalms 34:4 (KJV) I sought the LORD, and he heard me, and delivered me from all my fears.
God hears prayer. He listens to the cries of His people and in His time and way He delivers them.