Psalms 119:59 (KJV)

I thought on my ways, and turned my feet unto thy testimonies.