What does Psalms 119:65 say in the KJV?

Thou hast dealt well with thy servant, O LORD, according unto thy word.

King James Version (public domain)

Traditionally attributed to David · c. 10th century BC · King of Israel; author of many Psalms (compiled with other writers)

Context

63I am a companion of all them that fear thee, and of them that keep thy precepts.

64The earth, O LORD, is full of thy mercy: teach me thy statutes.

65Thou hast dealt well with thy servant, O LORD, according unto thy word.

66Teach me good judgment and knowledge: for I have believed thy commandments.

67Before I was afflicted I went astray: but now have I kept thy word.