"Will a man rob God? Yet ye have robbed me. But ye say, Wherein have we robbed thee? In tithes and offerings."
The EGW passage directly references the act of robbing God in offerings, which is the central theme of Malachi 3:8. The language is very similar.
"As a general thing, the young among us are allied to the world. But few maintain a special warfare against the internal foe, few have an earnest, anxious desire to know and do the will of God. But few hunger and thirst after righteousness, and few know anything of the Spirit of God as a reprover or comforter. Where are the missionaries? Where are the self-denying, self-sacrificing ones? Where are the cross bearers? Self and self- interest have swallowed up high and noble principles. Things of eternal moment bear with no special weight upon the mind. God requires them individually to come up to the point to make an entire surrender. “Ye cannot serve God and mammon.” You cannot serve self and at the same time be servants of Christ. You must die to self, die to your love of pleasure, and learn to inquire: Will God be pleased with the objects for which I purpose to spend this means? Shall I glorify Him? 2T 128.2"
"And be not conformed to this world: but be ye transformed by the renewing of your mind, that ye may prove what is that good, and acceptable, and perfect, will of God."
Both passages discuss the need to be transformed and not conformed to the world, seeking God's will rather than worldly desires. While not a direct quote, the themes align.