NET
24 Even though the invading Syrian army was relatively weak, the Lord handed over to them Judah’s very large army, for the people of Judah had abandoned the Lord God of their ancestors. The Syrians gave Joash what he deserved.
Darby
24 Truly with a small company of men came the army of the Syrians, but Jehovah delivered a very great army into their hand, because they had forsaken Jehovah the God of their fathers; and they executed judgment upon Joash.
KJV
24 For the army of the Syrians came with a small company of men, and the LORD delivered a very great host into their hand, because they had forsaken the LORD God of their fathers. So they executed judgment against Joash.