Deuteronomy 8:3

1 You must carefully follow every commandment I am giving you today, so that you may live and multiply, and enter and possess the land that the LORD swore to give your fathers.

2 Remember that these forty years the LORD your God led you all the way in the wilderness, so that He might humble you and test you in order to know what was in your heart, whether or not you would keep His commandments.

He humbled you, and in your hunger He gave you manna to eat, which neither you nor your fathers had known, so that you might understand that man does not live on bread alone, but on every word that comes from the mouth of the LORD.

4 Your clothing did not wear out and your feet did not swell during these forty years.

5 So know in your heart that just as a man disciplines his son, so the LORD your God disciplines you.

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

Compare

BSB
He humbled you, and in your hunger He gave you manna to eat, which neither you nor your fathers had known, so that you might understand that man does not live on bread alone, but on every word that comes from the mouth of the LORD.
KJV
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.
WEB
He humbled you, allowed you to be hungry, and fed you with manna, which you didn’t know, neither did your fathers know, that he might teach you that man does not live by bread only, but man lives by every word that proceeds out of the LORD’s mouth.
ASV
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 everything that proceedeth out of the mouth of Jehovah doth man live.
DARBY
And he humbled thee, and suffered thee to hunger, and fed thee with the manna, which thou hadst not known, and which thy fathers knew not; that he might make thee know that man doth not live by bread alone, but by everything that goeth out of the mouth of Jehovah doth man live.
BLB
And He humbled you and allowed you to hunger, and fed you with manna, which you did not know, nor did your fathers know, so that He might make you know that the man shall not live by bread alone; but by every [word] that proceeds from the mouth of YHWH the man shall live.
ÅB
Og han ydmyket deg og lot deg hungre, og han gav deg manna å spise, en mat som hverken du eller dine fedre kjente, fordi han ville la deg vite at mennesket ikke lever av brød alene, men at mennesket lever av hvert ord som går ut av Herrens munn.
OTB
Han ydmyket deg ved å la deg hungre, og så mettet Han deg med manna, som verken du eller dine fedre hadde kjent, for å få deg til å forstå at mennesket ikke lever av brød alene, men av hvert ord som kommer fra Herrens munn.
B1930
Og han ydmyket dig og lot dig hungre, og han gav dig manna å ete, en mat som hverken du eller dine fedre kjente, fordi han vilde la dig vite at mennesket ikke lever av brød alene, men at mennesket lever av hvert ord som går ut av Herrens munn.

Study notes (Tyndale)

Original text and word study

Cross references