"All are required to have an interest in this work. Those who use tobacco, tea, and coffee should lay aside those idols, and put their cost into the treasury of the Lord. Some have never made a sacrifice for the cause of God, and are asleep as to what God requires of them. Some of the very poorest will have the greatest struggle to deny themselves of these stimulants. This individual sacrifice is not required because the cause of God is suffering for means. But every heart will be tested, every character developed. It is principle that God's people must act upon. The living principle must be carried out in the life. 1T 222.1"
"Then said Jesus unto his disciples, If any man will come after me, let him deny himself, and take up his cross, and follow me."
The EGW passage directly applies the principle of self-denial found in Matthew 16:24 to specific habits (tobacco, tea, coffee) and financial sacrifice for the church.
"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."
Both passages emphasize the idea that our bodies are not our own and should be used to glorify God. 1 Corinthians 6:19-20 explicitly states this, while EGW implies it by suggesting that harmful substances should be avoided and the money saved should be used for God's work.
"No man can serve two masters: for either he will hate the one, and love the other; or else he will hold to the one, and despise the other. Ye cannot serve God and mammon."
Both passages address the idea of divided loyalty and the need to prioritize God over other desires or possessions. Matthew 6:24 speaks of serving God and mammon, while EGW speaks of sacrificing worldly habits for God's cause.