Solomon did the same thing for all his foreign wives so they could burn incense and offer sacrifices to their gods.