Solomon did this for all of his foreign wives, who burned incense and sacrificed to their own gods.