About the one who asks in doubt, James says,
"he is a double-minded man, unstable in all his ways." (James 1:8)
Being double-minded can include that we may believe in God and look to Him, somehow, but we mainly are trying to use God for things for our own selves, and maybe for certain ones who are our favorites; but Jesus warns, "if you love those who love you, what reward have you?" (in Matthew 5:46)
If we are not valuing Him most of all, we can be setting our hearts on things selfish, and not first loving Him. And this has us so we are not personally sharing with Him in His love, like I think Paul means in Romans 5:5, and Jude means in Jude 20-21. But we can be treating God like He's at some distance and as though we need to try to talk a certain way in order to get Him to do what we want.
And because we are not with God in His love, because of our selfish praying, we are deeply weak so many sorts of torments can mess up our personalities; and our torments of lusts can make us more and more desperate, even, to try to get our treasure pleasures which we hope to use to make ourselves feel better. But things can't do this. It does not work. Because our deep selfish nature keeps us weak so we can keep on suffering and failing; so this needs to be changed before God answering our prayer can do us real good
And God is telling us He has hope with desire for us to become intimate with Him in His own love. And in His wisdom . . . in the nature and disposition of how His love is . . . we are how wisdom is >
"first pure, then peaceable, gentle, willing to yield, full of mercy and good fruits, without partiality, and without hypocrisy." (in James 3:27) And in this nature of God's love, we also have His
"knowledge and all discernment" (Philippians 1:9), and His own creativity shared with us. And this is all the time, as much as we grow in this . . . more and more constantly discovering all He pleases to do and share with us.
In God's love we have His own light for seeing people and things right. And light shows so much, a big perspective as well as details . . . so more than words can tell. And this is more and more all the time, with God.