James 4:3

NIV
New International Version

3When you ask, you do not receive, because you ask with wrong motives, that you may spend what you get on your pleasures.