And he acted in this manner for all his foreign wives, who were burning incense and immolating to their gods.