Thank you for contacting BibleAsk.
God answers the prayers of a sinner when he seeks Him with all his heart. The Bible gives us many examples of that:
The evil people of Nineveh prayed repentantly that Nineveh might be saved from God’s destruction (Jonah 3:5-10). And God answered their prayers and did not destroy their city as He had warned.
Hagar asked God to protect her son Ishmael from death (Genesis 21:14-19). And God answered her prayer.
Ahab (the evil king) fasted and mourned over Elijah’s prophecy of judgment concerning his posterity (in 1 Kings 21:17-29, especially verses 27-29). And God answered his prayers by not bringing about the calamity during his time.
God does make promises that are applicable to all that ask with all their hearts “You will seek me and find me when you seek me with all your heart” (Jeremiah 29:13). God is merciful even to the sinners “for he maketh his sun to rise on the evil and on the good, and sendeth rain on the just and on the unjust” (Matthew 5:45).
But for those that love and obey the Lord, there are far exceedingly greater promises. Believers can go boldly to the throne of grace to find help in time of need (Hebrews 4:14-16). They can ask for anything according to God’s will, and God will hear and give them what they ask. Here are some of God’s promised to His faithful:
“And all things, whatsoever ye shall ask in prayer, believing, ye shall receive” (Matthew 21:22).
“And whatsoever ye shall ask in my name, that will I do, that the Father may be glorified in the Son” (John 14:13).
“If ye abide in me, and my words abide in you, ye shall ask what ye will, and it shall be done unto you” (John 15:7).
“And this is the confidence that we have in him, that, if we ask any thing according to his will, he heareth us: And if we know that he hear us, whatsoever we ask, we know that we have the petitions that we desired of him” (1 John 5:14-15).
In His service,