James 4:3

You ask and fail to get them, because you ask with evil, selfish motives, to spend them on your pleasures.

Matthew 6:7

And whenever you pray, you must not keep on repeating set phrases, as the heathen do, for they suppose that they will be heard in accordance with the length of their prayers,

Matthew 20:21-22

And He asked her, "What do you want?" She answered Him, "Give orders that these two sons of mine may sit one at your right and one at your left in your kingdom."

Treasury of Scripture Knowledge

Summary

Surely God will not hear vanity, neither will the Almighty regard it.

Bible References

God

Matthew 6:7
And whenever you pray, you must not keep on repeating set phrases, as the heathen do, for they suppose that they will be heard in accordance with the length of their prayers,
Matthew 20:21
And He asked her, "What do you want?" She answered Him, "Give orders that these two sons of mine may sit one at your right and one at your left in your kingdom."
James 4:3
You ask and fail to get them, because you ask with evil, selfish motives, to spend them on your pleasures.