Translations
Only that the generations of the children of Israel might know, to teach them war, at the least such as before knew nothing thereof;
only so that the generations of the sons of Yisra'el might know war — those who had not previously known it.
His purpose: to ensure that each new generation of Israel would know the realities of warfare — those who had never faced it before.
if only to teach warfare to the subsequent generations of Israel, especially to those who had not known it formerly:

