Matthew 7:22

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

Luke 13:25

When once the master of the house has risen, and closed the door, and you begin to stand without, and to knock at the door, saying, Lord, Lord, open for us, and he shall answer and say to you, I know you not, whence you are;

John 9:31

We know that God hears not sinners; but if any one be a worshiper of God, and do his will, him he hears.

Romans 2:8-9

but to those who are contentious, and obey not the truth, but obey unrighteousness, anger and wrath,

James 2:13

For he shall have judgment without mercy, who has shown no mercy. Mercy glories 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 contentious, and obey not the truth, but obey unrighteousness, anger and wrath,