Deuteronomy 12:28

YLT(i) 28 Observe, and thou hast obeyed all these words which I am commanding thee, in order that it may be well with thee and with thy sons after thee—to the age, when thou dost that which is good and right in the eyes of Jehovah thy God.