"One of fashion's wasteful and mischievous devices is the skirt that sweeps the ground. Uncleanly, uncomfortable, inconvenient, unhealthful—all this and more is true of the trailing skirt. It is extravagant, both because of the superfluous material required, and because of the needless wear on account of its length. And whoever has seen a woman in a trailing skirt, with hands filled with parcels, attempt to go up or down stairs, to enter a streetcar, to walk through a crowd, to walk in the rain or on a muddy road, needs no other proof of its inconvenience and discomfort. CT 304.2"
"What? know ye not that your body is the temple of the Holy Ghost which is in you, which ye have of God, and ye are not your own? For ye are bought with a price: therefore glorify God in your body, and in your spirit, which are God’s."
The EGW passage discusses the practical and health implications of a specific fashion choice. 1 Corinthians 6:19-20 speaks of the body as a temple and glorifying God in it. The connection is that caring for one's body, even in dress, can be seen as glorifying God, though the link is not explicit.
"Another serious evil is the wearing of skirts so that their weight must be sustained by the hips. This heavy weight, pressing upon the internal organs, drags them downward and causes weakness of the stomach and a feeling of lassitude, inclining the wearer to stoop, which further cramps the lungs, making correct breathing more difficult. CT 304.3"
"What? know ye not that your body is the temple of the Holy Ghost which is in you, which ye have of God, and ye are not your own?"
The verse speaks to the body being a temple, and EGW's statement is about caring for the body, which aligns with the principle of treating the body as a temple. However, the connection is not strong, hence the reduced confidence.