10 and had commanded him concerning this thing, that he should not go after other gods: but he didn’t keep that which Yahweh commanded.

Matthew Henry's Commentary on 1 Kings 11:10

Commentary on 1 Kings 11:9-13

(Read 1 Kings 11:9-13)

The Lord told Solomon, it is likely by a prophet, what he must expect for his apostacy. Though we have reason to hope that he repented, and found mercy, yet the Holy Ghost did not expressly record it, but left it doubtful, as a warning to others not to sin. The guilt may be taken away, but not the reproach; that will remain. Thus it must remain uncertain to us till the day of judgment, whether or not Solomon was left to suffer the everlasting displeasure of an offended God.