Then he told them to repair the altar of Yahweh, and he offered sacrifices to restore fellowship with Yahweh and to thank him. And he told the people of Judah that they must worship only Yahweh.