WEB
only that the generations of the children of Israel might know, to teach them war, at the least such as before knew nothing of it:
YLT
(only for the sake of the generations of the sons of Israel’s knowing, to teach them war, only those who formerly have not known them)—