Deuteronomy 11:19-21
11:19 Teach them to your children and speak of them as you sit in your house, as you walk along the road, as you lie down, and as you get up.
11:20 Inscribe them on the doorframes of your houses and on your gates
11:21 so that your days and those of your descendants may be extended in the land which the Lord promised to give to your ancestors, like the days of heaven itself.