If I cherished sin in my heart, the Lord wouldn’t have listened. Psalm 66:18 WEB
God doesn’t answer some prayers
He doesn’t listen to some desires
He gives the answers to prayer that He wants to give
Now we know that God heareth not sinners:
but if any man be a worshipper of God, and doeth His will, him He heareth.
John 9:31
The sinners, whose hearts are turned from the Lord
are not going to be heard when they pray
Of course God hears every word uttered, but as far as answering prayer,
He is not going to respond to those whose hearts are far from Him,
those who are seeking Him, He will draw near to them
God also recognizes a humble heart,
a person who is ready to leave behind their desires and walk with Him,
He will listen to
Ye ask, and receive not, because ye ask amiss,
that ye may consume it upon your lusts. James 4:3
Sometimes God doesn’t answer because the people who pray
are asking for something that is far from His will
Sometimes praying for God’s will to be known to you first
might be a way to pray and then once you know God’s will,
you can pray with wisdom and understanding
There is nothing wrong with just praying for God’s will to be done,
like in the Lord’s prayer,
Thy Kingdom come, Thy will be done in Earth as it is in Heaven. Matthew 6:10
Peter told some husbands their prayers were not being answered
because they weren’t treating their wives well:
Likewise, ye husbands, dwell with them according to knowledge,
giving honour unto the wife, as unto the weaker vessel,
and as being heirs together of the grace of life;
that your prayers be not hindered. 1 Peter 3:7
Like always, stay close to Jesus and listen to His correction or redirection
He might have a better way
He might have something to teach you
If you are listening, you will hear
He will teach you and expose to you if there is any iniquity in your heart