"And they come unto thee as the people cometh, and they sit before thee as my people, and they hear thy words, but they will not do them: for with their mouth they shew much love, but their heart goeth after their covetousness."
The EGW passage directly quotes Ezekiel 33:31.
"A mere profession of discipleship is of no value. The faith in Christ which saves the soul is not what it is represented to be by many. “Believe, believe,” they say, “and you need not keep the law.” But a belief that does not lead to obedience is presumption. The apostle John says, “He that saith, I know Him, and keepeth not His commandments, is a liar, and the truth is not in him.” 1 John 2:4 . Let none cherish the idea that special providences or miraculous manifestations are to be the proof of the genuineness of their work or of the ideas they advocate. When persons will speak lightly of the word of God, and set their impressions, feelings, and exercises above the divine standard, we may know that they have no light in them. MB 146.2"
"He that saith, I know him, and keepeth not his commandments, is a liar, and the truth is not in him."
Ellen White directly references 1 John 2:4 in this passage.
"Obedience is the test of discipleship. It is the keeping of the commandments that proves the sincerity of our professions of love. When the doctrine we accept kills sin in the heart, purifies the soul from defilement, bears fruit unto holiness, we may know that it is the truth of God. When benevolence, kindness, tenderheartedness, sympathy, are manifest in our lives; when the joy of right doing is in our hearts; when we exalt Christ, and not self, we may know that our faith is of the right order. “Hereby we do know that we know Him, if we keep His commandments.” 1 John 2:3 . MB 146.3"
"And hereby we do know that we know him, if we keep his commandments."
Ellen White directly references 1 John 2:3 in this passage.