Here "hand" represents the people of Israel's strength and their ability to defeat their enemy. The word "them" refers to the attacking army.