Godly people who live with integrity (see Proverbs 2:7, 21; 3:32; 11:6, 11; 14:2) have hearts that are right before the Lord. They maintain a relationship with the Lord and live rightly with others (Psalms 94:15; 125:4).
The wicked plan to destroy the godly (Psalm 11:2), but the Lord rescues them (11:1; 36:10). Then the sorrows of the godly turn into joy and praise (Psalms 32:11; 64:10; 111:1; 119:7).