1 Kings 11:4
When Solomon was old, his wives turned away his heart after other gods; and his heart was not perfect with the LORD his God, as the heart of David his father was.
World English Bible (Public Domain)
In context
Before · 1 Kings 11:2–3
2of the nations concerning which the LORD said to the children of Israel, “You shall not go among them, neither shall they come among you, for surely they will turn away your heart after their gods.” Solomon joined to these in love. 3He had seven hundred wives, princesses, and three hundred concubines. His wives turned his heart away.
4When Solomon was old, his wives turned away his heart after other gods; and his heart was not perfect with the LORD his God, as the heart of David his father was.