And it came to pass, when Solomon was old
Toward the latter end of his reign, when he might be near sixty years of age; for Rehoboam his son and successor was forty one when he began to reign, ( 1 Kings 14:21 ) which is observed either as an aggravation of the sin of Solomon, that in his old age, when by long experience he might have been thought to be still wiser, and less lustful: and yet
that his wives turned away his heart after other gods;
or as pointing at the advantage his wives took of his age:
and his heart was not perfect with the Lord his God, as was the heart
of David his father;
who, though guilty of many sins, never inclined to idolatry; his heart was always right in that point, and sincere in his worship, see ( Psalms 18:20-24 ) .