"After he had been proclaimed king by the army, Jehu hastened to Jezreel, where he began his work of execution on those who had deliberately chosen to continue in sin and to lead others into sin. Jehoram of Israel, Ahaziah of Judah, and Jezebel the queen mother, with “all that remained of the house of Ahab in Jezreel, and all his great men, and his kinsfolks, and his priests,” were slain. “All the prophets of Baal, all his servants, and all his priests” dwelling at the center of Baal worship near Samaria, were put to the sword. The idolatrous images were broken down and burned, and the temple of Baal was laid in ruins. “Thus Jehu destroyed Baal out of Israel.” 2 Kings 10:11, 19, 28 . PK 215.1"
"And when he came to Samaria, he slew all that remained unto Ahab in Samaria, till he had destroyed him, according to the saying of the Lord, which he spake to Elijah."
Both passages describe Jehu's actions in destroying the house of Ahab and Baal worship. The EGW passage summarizes events described in 2 Kings 10, including verse 17, but also cites other verses. It's a thematic parallel rather than a direct allusion to verse 17 alone.
"Tidings of this general execution reached Athaliah, Jezebel's daughter, who still occupied a commanding position in the kingdom of Judah. When she saw that her son, the king of Judah, was dead, “she arose and destroyed all the seed royal of the house of Judah.” In this massacre all the descendants of David who were eligible to the throne were destroyed, save one, a babe named Joash, whom the wife of Jehoiada the high priest hid within the precincts of the temple. For six years the child remained hidden, while “Athaliah reigned over the land.” 2 Chronicles 22:10, 12 . PK 215.2"
"And when Athaliah the mother of Ahaziah saw that her son was dead, she arose and destroyed all the seed royal. But Jehosheba, the daughter of king Joram, sister of Ahaziah, took Joash the son of Ahaziah, and stole him from among the king’s sons which were slain; and they hid him, even him and his nurse, in the bedchamber from Athaliah, so that he was not slain. And he was with her hid in the house of the Lord six years. And Athaliah did reign over the land."
EGW accurately summarizes and references 2 Chronicles 22:10, 12, reflecting the events of Athaliah's attempt to destroy the royal seed and Joash's hiding.
"At the end of this time, “the Levites and all Judah” ( 2 Chronicles 23:8 ) united with Jehoiada the high priest in crowning and anointing the child Joash and acclaiming him their king. “And they clapped their hands, and said, God save the king.” 2 Kings 11:12 . PK 215.3"
"So the Levites and all Judah did according to all things that Jehoiada the priest had commanded, and took every man his men that were to come in on the sabbath, with them that were to go out on the sabbath: for Jehoiada the priest dismissed not the courses."
Ellen White directly references 2 Chronicles 23:8 in this passage.
"And he brought forth the king’s son, and put the crown upon him, and gave him the testimony; and they made him king, and anointed him; and they clapped their hands, and said, God save the king."
Ellen White directly references 2 Kings 11:12 in this passage.