For it happened, when Shlomo was old, that his wives turned away his heart after other gods; and his heart was not perfect with the LORD his God, as was the heart of David his father.
He walked in all the sins of his father, which he had done before him; and his heart was not perfect with the LORD his God, as the heart of David his father.
He walked in all the way of Asa his father; He didn't turn aside from it, doing that which was right in the eyes of the LORD: however the high places were not taken away; the people still sacrificed and burnt incense in the high places.
For the eyes of the LORD run back and forth throughout the whole earth, to show himself strong in the behalf of them whose heart is perfect toward him. Herein you have done foolishly; for from henceforth you shall have wars.