King James Version (KJV)
And if thou wilt walk in my ways, to keep my statutes and my commandments, as thy father David did walk, then I will lengthen thy days.
Modern English
If you will walk in my ways, to keep my statutes and my commandments, as your father David walked, then I will lengthen your days.”
Hebrew
וְאִ֣ם ׀ תֵּלֵ֣ךְ בִּדְרָכַ֗י לִשְׁמֹ֤ר חֻקַּי֙ וּמִצְוֺתַ֔י כַּאֲשֶׁ֥ר הָלַ֖ךְ דָּוִ֣יד אָבִ֑יךָ וְהַאַרַכְתִּ֖י אֶת־יָמֶֽיךָ׃
vʾim ׀ telek bidrakay lishmor ḥuqay vmiṣvotay kaʾasher halak daviyd ʾabiyka vhaʾaraktiy ʾet-yameyka