1 Kings 11:2-3

11:2 They came from nations about which the Lord had warned the Israelites, “You must not establish friendly relations with them! If you do, they will surely shift your allegiance to their gods.” But Solomon was irresistibly attracted to them.

11:3 He had 700 royal wives and 300 concubines; his wives had a powerful influence over him.