James 4:3

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

Read James 4:3 Using Other Translations

Ye ask, and receive not, because ye ask amiss, that ye may consume it upon your lusts.
You ask and do not receive, because you ask wrongly, to spend it on your passions.
And even when you ask, you don’t get it because your motives are all wrong—you want only what will give you pleasure.