2 (he did this only to teach warfare to the descendants of the Israelites who had not had previous battle experience):