The Israelites again did things that the LORD saw as evil, and the LORD put Moab's King Eglon in power over them, because they did these things that the LORD saw as evil.
References for Judges 3:12
He convinced the Ammonites and Amalekites to join him, defeated Israel, and took possession of Palm City.
So the Israelites served Moab's King Eglon eighteen years.
Then the Israelites cried out to the LORD. So the LORD raised up a deliverer for them, Ehud, Gera's son, a Benjaminite, who was left-handed. The Israelites sent him to take their tribute payment to Moab's King Eglon.
Now Ehud made for himself a double-edged sword that was about a foot and a half long, and he strapped it on his right thigh under his clothes.
Then he presented the tribute payment to Moab's King Eglon, who was a very fat man.
When he had finished delivering the tribute payment, Ehud sent on their way the people who had carried it.
But he himself turned back at the carved stones near Gilgal, and he said, "I have a secret message for you, King." So Eglon said, "Hush!" and all his attendants went out of his presence.
Ehud approached him while he was sitting alone in his cool second-story room, and he said, "I have a message from God for you." At that, Eglon got up from his throne.
Ehud reached with his left hand and grabbed the sword from his right thigh. He stabbed it into Eglon's stomach,
and even the handle went in after the blade. Since he did not pull the sword out of his stomach, the fat closed over the blade, and his guts spilled out.
References for Judges 3:22
Ehud slipped out to the porch, and closed and locked the doors of the second-story room behind him.
After Ehud had slipped out, the king's servants came and found that the room's doors were locked. So they thought, He must be relieving himself in the cool chamber.
They waited so long that they were embarrassed, but he never opened the doors of the room. Then they used the key to open them, and there was their master lying dead on the ground!
Ehud had gotten away while they were waiting and had passed the carved stones and escaped to Seirah.
When he arrived, he blew the ram's horn in the Ephraim highlands. So the Israelites went down from the highlands with Ehud leading them.
He told them, "Follow me, for the LORD has handed over your enemies the Moabites." So they followed him, and they took control of the crossing points of the Jordan in the direction of Moab, allowing no one to cross.
This time, they defeated the Moabites, about ten thousand big and strong men, and no one escaped.
Moab was brought down by the power of Israel on that day, and there was peace in the land for eighty years.