As I mentioned above, Hamas's army was comparable to countries like Denmark (20k active soldiers), Finland, the Czech republic (27k active) and maybe even the Netherlands (40k active). Estimates of the size of Hamas's army pre October 7 range from 20k to 40k active combatants, with US intelligence estimates converging on 30k. This is looking just at fighters and excludes Hamas's political wing. They also had tens of thousands of rockets.