Judges 3:2

NLT
New Living Translation

2He did this to teach warfare to generations of Israelites who had no experience in battle.