When we pray, what is our motive? Is it all about satisfying our own pleasure, or about bringing glory to God, in what we are asking? We need to check our motives when we pray, because God is all about the motives of our heart, and knows our every thought! Think about using the Lord’s prayer, not to say, but as an example. It always starts the same, recognizing who God is, and giving him praise.

You ask and do not receive, because you ask with wrong motives, so that you may spend it on your pleasures.
James 4:3 NASB
https://bible.com/verse-of-the-day/jas.4.3/36078