He had fought the Middle East’s most powerful army for 50 days, and at the end of it he still controlled Gaza.