Matthew 7:22

many will cry out to me in that day, Lord, Lord, have we not prophesied in thy name? have we not cast out devils in thy name? and in thy name have we not wrought many miracles?

Luke 13:25

when once the master of the family is enter'd in, and has fastned the door, you will stand without beating at the door, and cry, Lord, Lord, let us in: but he will answer, you are strangers to me.

John 9:31

now 'tis certain, that God does not countenance impostors: but regards him only that is religious, and executes his commands.

Romans 2:8-9

but unto those who are contentious, and do not yield to the truth, but give way to injustice, indignation and wrath,

James 2:13

for he that has not shewed mercy, shall be condemn'd without mercy: while the merciful shall triumph at his trial.

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 unto those who are contentious, and do not yield to the truth, but give way to injustice, indignation and wrath,