Peter is teaching that God listens to the righteous when they speak to Him. Righteousness is obtained by believing in Jesus Christ. Believers in Christ accept God’s righteousness and have the goal to live rightly before God. God sends the Holy Spirit to the believer, and He helps them to pray. The believer is able to go to God with his or her requests. God hears and is very attentive to them. He will answer.
The other side of this verse is that God is against people that do evil. Sin and evil are not tolerated by a holy God. God is against them that do not do the right things. He forgives those who confess sin and cleanses from unrighteousness. The evil person will have the face of the Righteous Lord opposing them.
Challenge: Believer, Jesus has made you right with God! Keep on praying and believing for answers!