"confidence of the people, both for learning and for piety. In Samuel's day there were two of these schools—one at Ramah, the home of the prophet, and the other at Kirjath-jearim. In later times others were established. Ed 46.2 The pupils of these schools sustained themselves by their own labor in tilling the soil or in some mechanical employment. In Israel this was not thought strange or degrading; indeed, it was regarded as a sin to allow children to grow up in ignorance of useful labor. Every youth, whether his parents were rich or poor, was taught some trade. Even though he was to be educated for holy office, a knowledge of practical life was regarded as essential to the greatest usefulness. Many, also, of the teachers supported themselves by manual labor. Ed 47.1"
"And Saul sent messengers to take David: and when they saw the company of the prophets prophesying, and Samuel standing as appointed over them, the Spirit of God was upon the messengers of Saul, and they also prophesied."
Both passages refer to Samuel and a company of prophets. The EGW passage uses this as a basis for describing the schools of the prophets, while the KJV passage describes a specific event involving the Spirit of God.
In both the school and the home much of the teaching was oral; but the youth also learned to read the Hebrew writings, and the parchment rolls of the Old Testament Scriptures were open to their study. The chief subjects of study in these schools were the law of God, with the instruction given to Moses, sacred history, sacred music, and poetry. In the records of sacred history were traced the footsteps of Jehovah. The great truths set forth by the types in the service of the sanctuary were brought to view, and faith grasped the central object of all that system—the Lamb of God, that was to take away the sin of the world. A spirit of devotion was cherished. Not only were the students taught the duty of prayer, but they were taught how to pray, how to approach their Creator, how to exercise faith in Him, and how to understand and obey the teachings of His Spirit. Sanctified intellect brought forth from the treasure house of God things new and old, and the Spirit of God was manifested in p…
"And these words, which I command thee this day, shall be in thine heart: And thou shalt teach them diligently unto thy children, and shalt talk of them when thou sittest in thine house, and when thou walkest by the way, and when thou liest down, and when thou risest up."
The EGW passage describes the education system in the schools of the prophets, which included teaching the law of God and sacred history. This aligns with the principle in Deuteronomy 6:6-7 of diligently teaching God's words to children.
"For he established a testimony in Jacob, and appointed a law in Israel, which he commanded our fathers, that they should make them known to their children: That the generation to come might know them, even the children which should be born; who should arise and declare them to their children: That they might set their hope in God, and not forget the works of God, but keep his commandments:"
Both passages emphasize the importance of teaching future generations about God's law and works. The EGW passage describes how this was done in the schools of the prophets, while the Psalms passage is a general exhortation.
"These schools proved to be one of the means most effective in promoting that righteousness which “exalteth a nation.” Proverbs 14:34 . In no small degree they aided in laying the foundation of that marvelous prosperity which distinguished the reigns of David and Solomon. Ed 47.3"
"Righteousness exalteth a nation: but sin is a reproach to any people."
Ellen White directly references Proverbs 14:34 in this passage.