For when Solomon was old, his wives turned his heart away after other gods, and his heart was not perfect with the Lord his God as the heart of David his father had been.
He walked in all the sins of his father that he had done before him, and his heart was not wholly devoted to the Lord his God as the heart of his father David had been.
He walked in all the ways of Asa his father. He did not turn aside, doing that which was right in the eyes of the Lord. Nevertheless, the high places were not taken down, and the people continued to offer sacrifices and burn incense there.
For the eyes of the Lord move about on all the earth to strengthen the heart that is completely toward Him. You have acted foolishly in this, and from this point forward you will have wars.”