Psalms 119:75 (KJV)

I know, O LORD, that thy judgments are right, and that thou in faithfulness hast afflicted me.