The Israelites were subject to King Eglon of Moab for eighteen years. 