God will answer prayers of non believers.
16The face of the Lord is against them that do evil, to cut off
the remembrance of them from the earth.
29The Lord is far from the wicked: but he heareth the prayer of the righteous.
2But your [iniquities] have separated between you and your God,
and your sins have hid his face from you, that he will not hear.
31Now we know that God heareth not [sinners]: but if any man
be a worshipper of God, and doeth his will, him he heareth.
12For the eyes of the Lord are over the righteous, and his ears are open
unto their prayers: but the face of the Lord is against them that [do evil].
-
Ezekiel 33:11 (KJV)
Say unto them, As I live, saith the Lord God, I have no pleasure in the death of the wicked;
but that the wicked turn from his way and live: turn ye, turn ye from your evil ways;
for why will ye die, O house of Israel?
2 Kings 17:13 (KJV)
Yet the Lord testified against Israel, and against Judah, by all the prophets, and by all the seers,
saying, Turn ye from your evil ways, and keep my commandments and my statutes, according to
all the law which I commanded your fathers, and which I sent to you by my servants the prophets.
Zechariah 1:4 (KJV)
Be ye not as your fathers, unto whom the former prophets have cried, saying, Thus saith the Lord
of hosts; Turn ye now from your evil ways, and from your evil doings: but they did not hear,
nor hearken unto me, saith the Lord.