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