1 Kings 11:4-5

11:4 When Solomon became old, his wives shifted his allegiance to other gods; he was not wholeheartedly devoted to the Lord his God, as his father David had been. 11:5 Solomon worshiped the Sidonian goddess Astarte and the detestable Ammonite god Milcom.