King James Version (KJV)
That thou mayest walk in the way of good men, and keep the paths of the righteous.
Modern English
So you will walk in the way of the good and keep to the paths of the righteous.
Hebrew
לְמַ֤עַן תֵּלֵ֣ךְ בְּדֶ֣רֶךְ טוֹבִ֑ים וְאָרְח֥וֹת צַ֝דִּיקִ֗ים תִּשְׁמֹֽר׃
lmaʿan telek bderek ṭvobiym vʾarḥvot ṣadiyqiym tishmor