Matthew 7:22

Many will say to me in that day, Lord, Lord, have we not prophesied in your name, and in your name cast out demons, and in your name performed many mighty works?

Luke 13:25

When the householder has risen and shut the door, and you stand without and knock at the door, saying, Lord, open to us, and he will answer and say to you, I know you not whence you are,

John 9:31

We know that God hears not sinners; but if one is a worshipper of God, and does his will, him he hears.

Romans 2:8-9

but to those who are contentions and disobey the truth, and obey unrighteousness, indignation and wrath.

James 2:13

For he shall have judgment without mercy who shows not mercy; mercy rejoices over judgment.

Treasury of Scripture Knowledge

Summary

Then shall they cry unto the LORD, but he will not hear them: he will even hide his face from them at that time, as they have behaved themselves ill in their doings.

Bible References

As

Romans 2:8
but to those who are contentions and disobey the truth, and obey unrighteousness, indignation and wrath.