Thus he did for all his foreign wives, who were burning incense and offering sacrifices to their gods.