"sometimes disgusts them, so that your society is not agreeable and pleasant, but annoying. It is as natural as your breath for you to consider the views and opinions of others inferior to yours. You often greatly err here, for you have not all that wisdom and knowledge for which you give yourself credit. You often set your opinions up above men and women who have had many more years of experience than yourself, and who are far better qualified to direct and give words of wise judgment than yourself. But you have not seen these disagreeable besetments, and therefore have not realized the ill and bitter fruit they have produced. You have long indulged a spirit of contention, of war. Your peculiar turn of mind leads you to exult in opposites. 2T 163.1"
"For I say, through the grace given unto me, to every man that is among you, not to think of himself more highly than he ought to think; but to think soberly, according as God hath dealt to every man the measure of faith."
The EGW passage discusses someone thinking too highly of themselves, which is the exact principle addressed in Romans 12:3.
Your education has been deplorable; it has not been favorable to your now having a correct religious experience. You have had almost everything to unlearn and learn anew. You possess a hasty temper, which grieves your friends and the holy angels, and wounds your own soul. This is all contrary to the spirit of truth and true holiness. You must learn to cultivate modesty in speaking. Self must be subdued and kept in subjection. A Christian will not pursue a course of bickering and contention with even the most wicked and unbelieving. How wrong to indulge this spirit with those who believe the truth and who are seeking for peace, love, and harmony! Says Paul: “Be at peace among yourselves.” This spirit of contention is opposed to all the principles of heaven. In Christ's Sermon on the Mount He says: “Blessed are the peacemakers: for they shall be called the children of God.” “Blessed are the meek: for they shall inherit the earth.” You will have trouble wherever you go, unless you learn t…
"Let all bitterness, and wrath, and anger, and clamour, and evil speaking, be put away from you, with all malice:"
While not a direct quote, the EGW passage echoes the sentiment of Ephesians 4:31 regarding anger, bitterness, and contention. The overall theme of putting away negative emotions and behaviors is present in both passages.