Psalms 119:52 (KJV)

I remembered thy judgments of old, O LORD; and have comforted myself.