"You commit sin and deny your Saviour by dwelling on gloomy things, by gathering trials to yourself, and by borrowing troubles. You bring the troubles of tomorrow into today, and embitter your own heart, and bring burdens and a cloud upon those around you, by manufacturing trials. The precious probationary time that God has given you in which to do good and become rich in good works you are very unwise to employ in thinking unhappy thoughts and in airy castle-building. You suffer your imagination to run upon subjects that will bring you no relief or happiness. Your daydreaming stands directly in the way of your obtaining a sound, healthy, intelligent experience in the things of God and a moral fitness for the better life. 3T 332.2"
"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."
While not a direct quote, the EGW passage touches on the theme of self-denial and focusing on present duties rather than dwelling on negativity, which aligns with the call to 'deny himself' in Matthew 16:24. The connection is thematic rather than explicit.