After Eglon convinced the Ammonites and the Amalekites to join forces with him, he attacked and defeated Israel and took possession of the City of Palms.