"This solemn charge to one so zealous and faithful as was Timothy, is a strong testimony to the importance and responsibility of the work of the gospel minister. Summoning Timothy before the bar of God, Paul bids him preach the word, not the sayings and customs of men; to be ready to witness for God whenever opportunity should present itself,—before large congregations and private circles, by the way and at the fireside, to friends and to enemies, whether in safety or exposed to hardship and peril, reproach and loss. GW 30.2"
"Preach the word; be instant in season, out of season; reprove, rebuke, exhort with all longsuffering and doctrine."
The EGW passage is a direct commentary and expansion upon 2 Timothy 4:2, referencing the charge to preach the word in all circumstances.