"It was during the Passover that these cruelties were practiced. While the Jews were celebrating their deliverance from Egypt and pretending great zeal for the law of God, they were at the same time transgressing every principle of that law by persecuting and murdering the believers in Christ. AA 144.1"
"The Jews therefore, because it was the preparation, that the bodies should not remain upon the cross on the sabbath day, (for that sabbath day was an high day,) besought Pilate that their legs might be broken, and that they might be taken away."
Both passages discuss the Jews' actions during the Passover season. The EGW passage highlights the hypocrisy of their actions, while John 19:31 describes their concern for Sabbath observance. The shared context of Passover and the Jews' actions creates a thematic parallel.
"The death of James caused great grief and consternation among the believers. When Peter also was imprisoned, the entire church engaged in fasting and prayer. AA 144.2"
"Peter therefore was kept in prison: but prayer was made without ceasing of the church unto God for him."
The EGW passage directly reflects the Bible verse's account of the church praying for Peter's release. The detail of fasting is an amplification, but consistent with the situation.
"Herod's act in putting James to death was applauded by the Jews, though some complained of the private manner in which it was accomplished, maintaining that a public execution would have more thoroughly intimidated the believers and those sympathizing with them. Herod therefore held Peter in custody, meaning still further to gratify the Jews by the public spectacle of his death. But it was suggested that it would not be safe to bring the veteran apostle out for execution before all the people then assembled in Jerusalem. It was feared that the sight of him being led out to die might excite the pity of the multitude. AA 144.3"
"And because he saw it pleased the Jews, he proceeded further to take Peter also. (Then were the days of unleavened bread.)"
Both passages highlight Herod's desire to please the Jews by persecuting the apostles. EGW expands on the motivations and considerations behind Herod's actions, but the underlying theme of seeking favor with the Jews is consistent.