Proverbs 3:1-2 My son, do not forget my teaching, but keep my commands in your heart, for they will prolong your life many years and bring you peace and prosperity.
Apparently, there is a direct correlation between keeping God’s commands and a long life.