Then he died and was buried at Pirathon in the territory of Ephraim, in the hill country of the Amalekites.