"Before students talk of their attainments in the so-called “higher education,” let them learn to eat and drink to the glory of God and to exercise brain, bone, and muscle in such a way as to fit them for the highest service. A student may devote all his powers to acquiring knowledge, but as he disobeys the laws that govern his being he will weaken his efficiency. By cherishing wrong habits, he loses the power of self-appreciation, and he loses self-control. He cannot reason correctly about matters that concern him most deeply, and becomes reckless and irrational in his treatment of mind and body. CT 299.3"
"Whether therefore ye eat, or drink, or whatsoever ye do, do all to the glory of God."
The EGW passage directly echoes the sentiment of 1 Corinthians 10:31 by stating that students should eat and drink to the glory of God. It expands on this by connecting physical health and mental discipline to service and glorifying God.