I will be his father, and he shall be my son: and I will not take my mercy away from him, as I took it from him that was before you:
Read Chapter 17
Eusebius of Caesarea
AD 339
There is no doubt that Solomon was the son of David and his successor in the kingdom. And he first built the temple of God at Jerusalem, and perhaps the Jews understand him to be the subject of the prophecy. But we may fairly ask them whether the oracle applies to Solomon, which says, “And I will set up his throne for ever,” and also where God swore with the affirmation of an oath by his holy one, “The throne of him that is foretold shall be as the sun and the days of heaven.” For if the years of the reign of Solomon are reckoned, they will be found to be forty and no more. Even if the reigns of all his successors are added up, they do not altogether come to 500 years. And even if we suppose that their line continued down to the final attack on the Jewish nation by the Romans, how can they fulfill a prophecy which says, “Your throne shall remain for ever, and be as the sun and the days of heaven”? And the words, “I will be to him a father, and he shall be to me a son,” how can they ref...
Thee. The posterity of Saul lost the throne. (Haydock)
If Solomon was reprobated, his children were permitted to reign. It is also presumed that he did penance; though this is not certain.