Psalms 94:12

10 He that chastiseth the heathen, shall not he correct? he that teacheth man knowledge, shall not he know?

11 The LORD knoweth the thoughts of man, that they are vanity.

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

13 That thou mayest give him rest from the days of adversity, until the pit be digged for the wicked.

14 For the LORD will not cast off his people, neither will he forsake his inheritance.

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