Then they came back to invade En-mishpat (that is, Kadesh), and they defeated the whole territory of the Amalekites, as well as the Amorites who lived in Hazazon-tamar.