King James Version
Only that the generations of the children of Israel might know, to teach them war, at the least such as before knew nothing thereof;New International Version
(he did this only to teach warfare to the descendants of the Israelites who had not had previous battle experience):Catholic Public Domain Version
so that afterward their sons might learn to contend with their enemies, and to have a willingness to do battle