"David in his youth was intimately associated with Saul, and his stay at court and his connection with the king's household gave him an insight into the cares and sorrows and perplexities concealed by the glitter and pomp of royalty. He saw of how little worth is human glory to bring peace to the soul. And it was with relief and gladness that he returned from the king's court to the sheepfolds and the flocks. Ed 152.1"
"The Lord is my shepherd; I shall not want."
The EGW quote describes David's relief in returning to the simplicity of shepherding, contrasting it with the complexities of court life. This thematically aligns with the sentiment of Psalm 23:1, which expresses contentment and security in God's care, similar to a shepherd's care for his sheep.
"And David reigned over all Israel; and David executed judgment and justice unto all his people."
Ellen White directly references 2 Samuel 8:15 in this passage.
"The discipline of David's early experience was lacking in that of Solomon. In circumstances, in character, and in life, he seemed favored above all others. Noble in youth, noble in manhood, the beloved of his God, Solomon entered on a reign that gave high promise of prosperity and honor. Nations marveled at the knowledge and insight of the man to whom God had given wisdom. But the pride of prosperity brought separation from God. From the joy of divine communion Solomon turned to find satisfaction in the pleasures of sense. Of this experience he says: Ed 152.3"
"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."
The EGW quote describes Solomon's decline due to prosperity and separation from God, which aligns with the account in 1 Kings 11:4, where Solomon's heart is turned away by his wives. Both passages highlight the negative consequences of straying from God.