7 So the Lord was angry with them and handed them over to the Philistines and the Ammonites.