Deuteronomy 8:5

3 And he humbled thee, and suffered thee to hunger, and fed thee with manna, which thou knewest not, neither did thy fathers know; that he might make thee know that man doth not live by bread only, but by every word that proceedeth out of the mouth of the LORD doth man live.

4 Thy raiment waxed not old upon thee, neither did thy foot swell, these forty years.

Thou shalt also consider in thine heart, that, as a man chasteneth his son, so the LORD thy God chasteneth thee.

6 Therefore thou shalt keep the commandments of the LORD thy God, to walk in his ways, and to fear him.

7 For the LORD thy God bringeth thee into a good land, a land of brooks of water, of fountains and depths that spring out of valleys and hills;

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

Compare

BSB
So know in your heart that just as a man disciplines his son, so the LORD your God disciplines you.
KJV
Thou shalt also consider in thine heart, that, as a man chasteneth his son, so the LORD thy God chasteneth thee.
WEB
You shall consider in your heart that as a man disciplines his son, so the LORD your God disciplines you.
ASV
And thou shalt consider in thy heart, that, as a man chasteneth his son, so Jehovah thy God chasteneth thee.
DARBY
And know in thy heart that, as a man chasteneth his son, so Jehovah thy God chasteneth thee;
BLB
And you shall know in your heart that as a man disciplines his son, YHWH your God disciplines you.
ÅB
Så forstå da i ditt hjerte at slik som en mann opptukter sin sønn, slik opptuktet Herren din Gud deg,
OTB
Forstå da i ditt hjerte at Herren din Gud tukter deg slik en mann tukter sin sønn.
B1930
Så forstå da i ditt hjerte at likesom en mann optukter sin sønn, således optuktet Herren din Gud dig,

Study notes (Tyndale)

Original text and word study

Cross references