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

Read Judges 3:14 Using Other Translations

So the children of Israel served Eglon the king of Moab eighteen years.
And the people of Israel served Eglon the king of Moab eighteen years.
And the Israelites served Eglon of Moab for eighteen years.