Bible Trivia Question for Tuesday 10/25/2022

This group of 400 men were indebted, distressed, and bitter, yet they became a mighty army with a commander who rarely lost a battle. Which group and who is the commander?