Psalms 94:12

10 He who admonishes the nations, does He not discipline? He who teaches man, does He lack knowledge?

11 The LORD knows the thoughts of man, that they are futile.

Blessed is the man You discipline, O LORD, and teach from Your law,

13 to grant him relief from days of trouble, until a pit is dug for the wicked.

14 For the LORD will not forsake His people; He will never abandon His heritage.

Do read the surrounding verses too, because the context often says more than a single verse.

Compare

BSB
Blessed is the man You discipline, O LORD, and teach from Your law,
KJV
Blessed is the man whom thou chastenest, O LORD, and teachest him out of thy law;
WEB
Blessed is the man whom you discipline, LORD, and teach out of your law,
ASV
Blessed is the man whom thou chastenest, O Jehovah, And teachest out of thy law;
DARBY
Blessed is the man whom thou chastenest, O Jah, and whom thou teachest out of thy law;
BLB
Blessed [is] the man whom You instruct, O YAH, and teach him from Your law,
ÅB
Salig er den mann som du, Herre, refser og gir lærdom av din lov
OTB
Velsignet er den du retter, Herre,
Og som du underviser fra din lov,
B1930
Salig er den mann som du, Herre, refser og gir lærdom av din lov

Study notes (Tyndale)

Original text and word study

Cross references