So King Amaziah died and was buried with his ancestors. Then Azariah rebuilt Elath and got it back for Judah.