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