"Chapter 5—Solomon's Repentance Twice during Solomon's reign the Lord had appeared to him with words of approval and counsel—in the night vision at Gibeon, when the promise of wisdom, riches, and honor was accompanied by an admonition to remain humble and obedient; and after the dedication of the temple, when once more the Lord exhorted him to faithfulness. Plain were the admonitions, wonderful the promises, given to Solomon; yet of him who in circumstances, in character, and in life seemed abundantly fitted to heed the charge and meet the expectation of Heaven, it is recorded: “He kept not that which the Lord commanded.” “His heart was turned from the Lord God of Israel, which had appeared unto him twice, and had commanded him concerning this thing, that he should not go after other gods.” 1 Kings 11:9, 10 . And so complete was his apostasy, so hardened his heart in transgression, that his case seemed well-nigh hopeless. PK 75"
"For it came to pass, when Solomon 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."
EGW directly quotes and references 1 Kings 11:9, 10, making the connection explicit.