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