I will praise and give thanks to You with uprightness of heart when I learn [by sanctified experiences] Your righteous judgments [Your decisions against and punishments for particular lines of thought and conduct].
The Lord is my Strength and my [impenetrable] Shield; my heart trusts in, relies on, and confidently leans on Him, and I am helped; therefore my heart greatly rejoices, and with my song will I praise Him.