He rebuilt the altar of Yahweh and offered on it sacrifices of fellowship offerings and thank offerings; he commanded Judah to serve Yahweh, the God of Israel.