"Women professing godliness generally fail to train the mind. They leave it uncontrolled, to go where it will. This is a great mistake. Many seem to have no mental power. They have not educated the mind to think; and because they have not done this, they suppose they cannot. Meditation and prayer are necessary to a growth in grace. Why there is no more stability among women is because of so little mental culture, so little reflection. Leaving the mind in a state of inaction, they lean upon others to do the brainwork, to plan, and think, and remember for them, and thus grow more and more inefficient. Some need to discipline the mind by exercise. They should force it to think. While they depend upon someone to think for them, to solve their difficulties, and they refuse to tax the mind with thought, the inability to remember, to look ahead and discriminate, will continue. Efforts must be made by every individual to educate the mind. 2T 187.3"
"But refuse profane and old wives’ fables, and exercise thyself rather unto godliness."
Both passages emphasize the importance of training oneself towards godliness and avoiding frivolous pursuits. The EGW passage specifically addresses mental training, while 1 Timothy 4:7 speaks more broadly of exercising oneself unto godliness.