Then they turned back and went to En Mishpat (that is, Kadesh). They defeated all the Amalekites. They also defeated the Amorites who lived in Hazazon Tamar.