They then turned back and came to En-mishpat (that is, Kadesh), and they subdued the whole country of both the Amalekites and the Amorites who lived in Hazazon-tamar.