Having failed to follow God's commandments and destroy the inhabitants of the land, Israel would never fully enjoy peace. They intermarried, followed other gods and reaped the consequences. Since they would not know peace, God set them up to study war.