Deuteronomy 11:19-21

Thomson(i) 19 And you shall teach them to your children, by speaking of them, when thou sittest at home, and when thou walkest abroad, and when thou liest down to sleep, and when thou risest up. 20 And you shall write them on the door posts of your houses, and of your gates; 21 that you may prolong your lives, that the days of your children in the land which the Lord solemnly promised your fathers to give them, may be as the days of heaven over the earth.