"Babylonians set Gedaliah as governor. Only a few months passed before the newly appointed governor was treacherously slain. The poor people, after passing through many trials, were finally persuaded by their leaders to take refuge in the land of Egypt. Against this move, Jeremiah lifted his voice in protest. “Go ye not into Egypt,” he pleaded. But the inspired counsel was not heeded, and “all the remnant of Judah, ... even men, and women, and children,” took flight into Egypt. “They obeyed not the voice of the Lord: thus came they even to Tahpanhes.” Jeremiah 43:5-7 . PK 460.2"
"But Johanan the son of Kareah, and all the captains of the forces, took all the remnant of Judah, that were returned from all nations, whither they had been driven, to dwell in the land of Judah; Even men, and women, and children, and the king’s daughters, and every person that Nebuzar–adan the captain of the guard had left with Gedaliah the son of Ahikam the son of Shaphan, and Jeremiah the prophet, and Baruch the son of Neriah. So they came into the land of Egypt: for they obeyed not the voice of the Lord: thus came they even to Tahpanhes."
Ellen White directly references Jeremiah 43:5-7 in this passage.
"The Lord hath said concerning you, O ye remnant of Judah; Go ye not into Egypt: know certainly that I have admonished you this day."
EGW directly references the events described in Jeremiah 42:19 and surrounding chapters, specifically the remnant of Judah's decision to flee to Egypt against Jeremiah's warnings. She quotes Jeremiah 43:5-7. This is a clear and direct connection.
"The prophecies of doom pronounced by Jeremiah upon the remnant that had rebelled against Nebuchadnezzar by fleeing to Egypt were mingled with promises of pardon to those who should repent of their folly and stand ready to return. While the Lord would not spare those who turned from His counsel to the seductive influences of Egyptian idolatry, yet He would show mercy to those who should prove loyal and true. “A small number that escape the sword shall return out of the land of Egypt into the land of Judah,” He declared; “and all the remnant of Judah, that are gone into the land of Egypt to sojourn there, shall know whose words shall stand, Mine, or theirs.” Jeremiah 44:28 . PK 460.3"
"Yet a small number that escape the sword shall return out of the land of Egypt into the land of Judah, and all the remnant of Judah, that are gone into the land of Egypt to sojourn there, shall know whose words shall stand, mine, or theirs."
Ellen White directly references Jeremiah 44:28 in this passage.