what does the bible say?
God knows everyone and everything. That means He hears the prayers of even unbelievers, but whether He answers them is according to His will. A classic example of God responding to those who were not His people in the Old Testament includes Nineveh in the book of Jonah. Instead of annihilating the evil city, God relented on His judgement when they humbled themselves and repented after hearing Jonah the prophet speak the Word of the Lord (Jonah 3:5-10). In the New Testament, God responds to the prayers of someone who would be considered a Gentile at the time. In Acts 10, a Roman centurion, Cornelius, prays to God instead of the Roman gods of his people. God responds by sending him a vision of an angel and making sure Cornelius and His family hear the gospel. Even so, John 9:31 says that God does not “listen to sinners,” which some have interpreted to mean that God does not hear the prayers of unbelievers except the one for salvation. However, since God is all-powerful, He hears all prayers but answers according to His will. For believers, we have assurance that God hears us, and we trust that He responds according to His will. As His children, we can approach Him boldly through prayer (Hebrews 4:16) as we abide in an intimate relationship with Him.