"“Then Peter said unto them, Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins, and ye shall receive the gift of the Holy Ghost. For the promise is unto you, and to your children, and to all that are afar off, even as many as the Lord our God shall call.” AA 43.2"
"Then Peter said unto them, Repent, and be baptized every one of you in the name of Jesus Christ for the remission of sins, and ye shall receive the gift of the Holy Ghost."
EGW directly quotes Acts 2:38.
"For the promise is unto you, and to your children, and to all that are afar off, even as many as the Lord our God shall call."
EGW directly quotes Acts 2:39.
"Peter urged home upon the convicted people the fact that they had rejected Christ because they had been deceived by priests and rulers; and that if they continued to look to these men for counsel, and waited for them to acknowledge Christ before they dared to do so, they would never accept Him. These powerful men, though making a profession of godliness, were ambitious for earthly riches and glory. They were not willing to come to Christ to receive light. AA 43.3"
"But woe unto you, scribes and Pharisees, hypocrites! for ye shut up the kingdom of heaven against men: for ye neither go in yourselves, neither suffer ye them that are entering to go in."
Both passages discuss religious leaders hindering people from entering the kingdom/accepting Christ. The EGW passage amplifies the idea of leaders preventing others from accepting Christ, which is a central theme in Matthew 23:13.
"And ye will not come to me, that ye might have life."
The EGW passage speaks of people unwilling to come to Christ for light, while John 5:40 states 'ye will not come to me, that ye might have life.' Both highlight a refusal to accept Christ.
"Lay not up for yourselves treasures upon earth, where moth and rust doth corrupt, and where thieves break through and steal: But lay up for yourselves treasures in heaven, where neither moth nor rust doth corrupt, and where thieves do not break through nor steal: For where your treasure is, there will your heart be also."
The EGW passage mentions the leaders' ambition for earthly riches and glory, contrasting with the call to seek heavenly treasure in Matthew 6:19-21. The connection is that the leaders' focus on earthly things prevents them from accepting Christ.