Psalms 119:71

69 Though the arrogant have smeared me with lies, I keep Your precepts with all my heart.

70 Their hearts are hard and callous, but I delight in Your law.

It was good for me to be afflicted, that I might learn Your statutes.

72 The law from Your mouth is more precious to me than thousands of pieces of gold and silver.

73 Your hands have made me and fashioned me; give me understanding to learn Your commandments.

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

Compare

BSB
It was good for me to be afflicted, that I might learn Your statutes.
KJV
It is good for me that I have been afflicted; that I might learn thy statutes.
WEB
It is good for me that I have been afflicted, that I may learn your statutes.
ASV
It is good for me that I have been afflicted; That I may learn thy statutes.
DARBY
It is good for me that I have been afflicted, that I might learn thy statutes.
BLB
[It is] good for me that I was afflicted, so that I might learn Your statutes.
ÅB
Det var meg godt at jeg ble ydmyket, for at jeg kunne lære dine forskrifter.
OTB
Det er til nytte for meg at jeg opplevde vanskeligheter,
Så jeg kan lære dine forskrifter.
B1930
Det var mig godt at jeg blev ydmyket, forat jeg kunde lære dine forskrifter.

Study notes (Tyndale)

Original text and word study

Cross references