According to the Book of Judges, Eglon (Hebrew: עֶגְלוֹן ‘Eḡlōn) was a king of Moab who oppressed Israel. According to Cristiano Grottanelli, the story of Eglon recorded in Judges is mythical material.
He was the head of the confederacy of Moab, Ammon and Amalek in their assault on Israel. One day, Ehud came presenting a customary tribute and tricked Eglon and stabbed him with his sword, but when Ehud attempted to draw the sword back out, the obese king's excess fat prevented its retrieval. His servants, believing he was relieving himself, left him be. In the aftermath of his death, the Moabites were routed and the Israelites enjoyed eighty years of peace.
Rabbis in the Talmudic tradition claimed that Ruth was Eglon's daughter. According to this tradition, Eglon was rewarded for rising out of respect when Ehud mentioned the Israelite God by having King David as a descendant. This can also be seen as an attempt to provide a royal lineage to David. The Talmud also describes Eglon as the grandson of Balak. There is, however, no basis in the actual verses for such an assertion.
According to a legend in a midrash, the two Moabite women from the Book of Ruth Orpah and Ruth, were sisters, and both were daughters of the Moabite king Eglon (Ruth R. ii. 9). According to this same midrash Eglon was a son of Balak, the king of Moab introduced in Numbers 22.
Some historical theories link the King's name with that of the present-day town of Ajloun in Jordan, though the precise derivation is obscure.