And he repaired the altar of the Lord
Which was fallen to ruin, being neglected and disused in his times of idolatry: or, according to the Keri, or marginal reading, and so the Targum, "he built it"; which perhaps he had before pulled down and destroyed:
and sacrificed thereon peace offerings and thank offerings;
to the Lord, for bringing him out of captivity, and restoring him to his kingdom; and especially for converting him from his idolatries, giving him repentance for them, and forgiveness of sins:
and commanded Judah to serve the Lord God of Israel;
and him only; another instance of the truth of his repentance, in endeavouring to reform those whom he had misled, and restore the true worship of God among them, and bring them back to that.