T he people of Israel worked for Eglon the king of Moab for eighteen years.
So the sons of Israel served Eglon the king of Moab eighteen years.