II Samuel 22:23 Midrash

כִּ֥י כָל־משפטו [מִשְׁפָּטָ֖יו] לְנֶגְדִּ֑י וְחֻקֹּתָ֖יו לֹא־אָס֥וּר מִמֶּֽנָּה׃

For all His ordinances were before me; And as for His statutes, I did not depart from them.

Read midrashic interpretation of II Samuel 22:23: and classical rabbinic exegesis.