I will praise you with uprightness of heart, when I shall have learned your righteous judgments.
Read Chapter 119
Augustine of Hippo
7. "I will confess unto Thee," he saith, "O Lord, in the directing of my heart; in that I shall have learned the judgments of Thy righteousness" (ver. 7). This is not the confession of sins, but of praise; as He also saith in whom there was no sin, "I will confess unto Thee, O Father, Lord of heaven and earth;" and as it is written in the Book of Ecclesiasticus "Thus shalt thou say in confession, of all the works of God, that they are very good." "I will confess unto Thee," he saith, "in the directing of my heart." Indeed, if my ways are made straight, I will confess unto Thee, since Thou hast done it, and this is Thy praise, and not mine. ...