Exodus 20:12:

Honour thy father and thy mother: that thy days may be long upon the land which the LORD thy God giveth thee.

Notes on Exodus 20:12:

This promise is explicitly carried over into the New Covenant in Ephesians 6:1-3.  It is one of many passages promising long life.  Obviously, God’s will for us is long life.  If you want long life, heed the implicit warning here.  Dishonoring your parents shortens your life!

See also:

Ephesians 6:1-3
Notes on Ephesians 6:1-3
Some of God’s Promises Have Conditions
Is There an Appointed Time for Each Person to Die?