Eglon got the Ammonite people and the Amalekite people to join him. Then he attacked Israel and took Jericho, the city of palm trees.