Deuteronomy 8:2
1 You must keep carefully all these commandments I am giving you today so that you may live, increase in number, and go in and occupy the land that the Lord promised to your ancestors. 2 Remember the whole way by which he has brought you these 40 years through the wilderness so that he might, by humbling you, test you to see if you have it within you to keep his commandments or not. 3 So he humbled you by making you hungry and then feeding you with unfamiliar manna. He did this to teach you that humankind cannot live by bread alone, but also by everything that comes from the Lord’s mouth. 4 Your clothing did not wear out nor did your feet swell all these 40 years.
Proverbs 3:11
9 Honor the Lord from your wealth and from the first fruits of all your crops; 10 then your barns will be filled completely, and your vats will overflow with new wine. 11 My child, do not despise discipline from the Lord, and do not loathe his rebuke. 12 For the Lord disciplines those he loves, just as a father disciplines the son in whom he delights. 13 Blessed is the one who has found wisdom and the one who obtains understanding.
Notes and References
"... there is a possibility that Proverbs 3:11–12 is based on Deuteronomy 8:5, or at least that ‘the concept of discipline’ in Deuteronomy 8 ‘informs the writer of Proverbs’ (Spellman 2016:499). This would explain several of the parallels between Hebrews 12:9 and Proverbs 3:11–12 ..."
Coetsee, A.J. Hebrews 12:9 Revisited: The Background of the Phrase "and live" (pp. 1-11) HTS Teologiese Studies/ Theological Studies 76(1), 2020