"Luther's parents bestowed great care upon the education and training of their children. They endeavored to instruct them in the knowledge of God and the practice of Christian virtues. The father's prayer often ascended in the hearing of his son that the child might remember the name of the Lord and one day aid in the advancement of His truth. Every advantage for moral or intellectual culture which their life of toil permitted them to enjoy was eagerly improved by these parents. Their efforts were earnest and persevering to prepare their children for a life of piety and usefulness. With their firmness and strength of character they sometimes exercised too great severity; but the Reformer himself, though conscious that in some respects they had erred, found in their discipline more to approve than to condemn. GC 121.1"
"Train up a child in the way he should go: and when he is old, he will not depart from it."
The EGW passage illustrates the principle of Proverbs 22:6 by describing how Luther's parents diligently trained him in the knowledge of God, hoping he would advance His truth. The passage directly exemplifies the proverb's teaching.
"Yet under so many and so great discouragements Luther pressed resolutely forward toward the high standard of moral and intellectual excellence which attracted his soul. He thirsted for knowledge, and the earnest and practical character of his mind led him to desire the solid and useful rather than the showy and superficial. GC 121.3"
"Blessed are they which do hunger and thirst after righteousness: for they shall be filled."
Both passages highlight a deep desire for something valuable. In Matthew 5:6, it's a hunger and thirst for righteousness, while in the EGW passage, it's a thirst for knowledge and moral/intellectual excellence. The underlying theme of intense longing is present in both.