Book of Psalms

Psalms 94:12

King James Version
12 Blessed is the man whom thou chastenest, O LORD, and teachest him out of thy law;