King James Version (KJV)
Only that the generations of the children of Israel might know, to teach them war, at the least such as before knew nothing thereof;
Modern English
only that the generations of the children of Israel might know, to teach them war, at least those who knew nothing of it before:
Hebrew
רַ֗ק לְמַ֙עַן֙ דַּ֚עַת דֹּר֣וֹת בְּנֵֽי־יִשְׂרָאֵ֔ל לְלַמְּדָ֖ם מִלְחָמָ֑ה רַ֥ק אֲשֶׁר־לְפָנִ֖ים לֹ֥א יְדָעֽוּם׃
raq lmaʿan daʿat dorvot bney-yishraʾel llamdam milḥamah raq ʾasher-lpaniym loʾ ydaʿvm