The subheading for James 4:1-10 reads, Drawing Close to God.*
The first paragraph in the section ends, “When you ask, you don’t get it because your motives are all wrong–you want only what will give you pleasure (James 4:3).”
To be close to God, I should think and pray about what will bring him pleasure.
*Gary Chapman, General Editor, The Love Languages Devotional Bible, p.1305.