The Lord is far from the wicked, but he hears the prayer of the righteous.” Proverbs 15:29
A person normally listens to another that has credibility and integrity with them. There has been established a good relationship or rapport between the two people. There is an element of trust. The person asking has gained entrance to getting information. The lack of an established relationship or breakdown in trust hinders communication. There will be little growth of in relationship until a measure of reconciliation and a mending of the friendship.
God states in the Holy Bible that He is in a relationship with the righteous. The righteous are those who obey Him and do His will. He hears and listens to them. He fulfills their heart desires according to His purposes. They call out to Him in whatever need or circumstance. God already knows before the question is asked. He has made provisions for the answer. A good relationship has been established through His Son, Jesus Christ. God responds with love and helps His people.
This is not true for those who have no relationship with Him. He is far away from those who are always saying and doing evil. There is a breakdown in communication with Him because of sin. The relationship must be reconciled by confession of sin and turning toward God in repentance. A changed mind, heart, and lifestyle are a must in establishing a good relationship and rapport with God. He is holy and respect is a requirement of this attribute.
Believers, always practice confession, repentance, and keep the lines of communication open with God. He will forgive and cleanse the sin away. Prayers are sure to be heard from such humble hearts. Praise God for His Holy Spirit to help. Amen. Glory to God in the Highest! Thank you Lord for answered prayers!