1Of David. To you, O LORD, I lift up my soul.2My God, in you I trust; let me not be put to shame; let not my enemies rejoice over me.3Indeed, none who wait for you shall be put to shame; those who act treacherously shall be put to shame.4Make known to me your ways, O LORD; teach me your paths.5Lead me in your truth and teach me, for you are the God of my salvation; for you I wait all the day.6Remember your compassions, O LORD, and your kindnesses, for they are from of old.7Do not remember the sins of my youth and my transgressions; according to your kindness remember me, for the sake of your goodness, O LORD.8Good and upright is the LORD; therefore he instructs sinners in the way.9He leads the humble in justice and teaches the humble his way.10All the paths of the LORD are kindness and truth for those who keep his covenant and his testimonies.11For your name's sake, O LORD, forgive my iniquity, for it is great.12Who is this, the man who fears the LORD? He will instruct him in the way he should choose.13His soul shall dwell in prosperity, and his offspring shall possess the land.14The counsel of the LORD is for those who fear him, and he makes his covenant known to them.15My eyes are continually toward the LORD, for he will bring my feet out from the net.16Turn to me and be gracious to me, for I am lonely and afflicted.17The troubles of my heart have multiplied; bring me out of my distresses.18See my affliction and my trouble, and forgive all my sins.19See my enemies, for they have multiplied, and they hate me with violent hatred.20Guard my soul and rescue me; let me not be put to shame, for I seek refuge in you.21May integrity and uprightness preserve me, for I wait for you.22Ransom, O God, Israel from all his distresses.