"There is need of heart conversions among the teachers. A genuine change of thought and methods of teaching is required to place them where they will have a personal relation to a living Saviour. It is one thing to assent to the Spirit's work in conversion, and another thing to accept that Spirit's agency as a reprover, calling to repentance. It is necessary that both teachers and students not only assent to truth, but have a deep practical knowledge of the operations of the Spirit. Its cautions are given because of the unbelief of those who profess to be Christians.... CT 359.1"
"And when he is come, he will reprove the world of sin, and of righteousness, and of judgment:"
The EGW passage explicitly mentions the Spirit's role as a 'reprover, calling to repentance,' which is a direct reference to John 16:8, where the Holy Spirit is described as reproving the world of sin.
"You who have long lost the spirit of prayer, pray, pray earnestly, “Pity Thy suffering cause, pity the church, pity the individual believers, Thou Father of mercies. Take from us everything that defiles. Deny us what Thou wilt, but take not from us Thy Holy Spirit.” CT 359.2"
"Cast me not away from thy presence; and take not thy holy spirit from me."
The EGW passage directly quotes a prayer asking God not to take away His Holy Spirit, which is a clear allusion to David's plea in Psalm 51:11.
"There are and ever will be those who do not move wisely, who will, if words of doubt or unbelief are spoken, throw off conviction and choose to follow their own will, and because of their deficiencies Christ has been reproached. Poor, finite mortals have judged the rich and precious outpouring of the Spirit and passed sentence upon it as the Jews passed sentence on the work of Christ. Let it be understood in every institution in America that it is not commissioned to you to direct the work of the Holy Spirit and to tell how it shall represent itself. You have been guilty in doing this. May the Lord forgive you, is my prayer. Instead of being repressed and driven back, as it has been, the Holy Spirit should be welcomed and its presence encouraged. CT 359.3"
"Wherefore I say unto you, All manner of sin and blasphemy shall be forgiven unto men: but the blasphemy against the Holy Ghost shall not be forgiven unto men. And whosoever speaketh a word against the Son of man, it shall be forgiven him: but whosoever speaketh against the Holy Ghost, it shall not be forgiven him, neither in this world, neither in the world to come."
The EGW passage warns against judging and repressing the work of the Holy Spirit, drawing a parallel to the blasphemy against the Holy Spirit mentioned in Matthew 12:31-32. While not a direct quote, the theme of rejecting the Spirit's work is present in both passages.