Berean Standard Bible (BSB)
if only to teach warfare to the subsequent generations of Israel, especially to those who had not known it formerly:
World English Bible (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:
Strong's King James
Only that{H7535} the generations{H1755} of the children{H1121} of Israel{H3478} might know{H3045}{(H8800)}, to teach{H3925}{(H8763)} them war{H4421}, at the least such as before{H6440} knew{H3045}{(H8804)} nothing thereof;
The F.O.G *
The F.O.G Message *
Young's Literal Translation
(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)—