"But before the priests had come up out of the river, that this wonderful miracle might never be forgotten, the Lord bade Joshua select men of note from each tribe to take up stones from the spot in the river bed where the priests had stood, and bear them upon their shoulders to Gilgal, and there erect a monument in remembrance of the fact that God had caused Israel to pass over Jordan upon dry land. This would be a continual reminder of the miracle that the Lord had wrought for them. As years passed on, their children would inquire concerning the monument, and again and again they would recount to them this wonderful history, till it would be indelibly impressed upon their minds to the latest generation. 4T 158.2"
The EGW passage is a clear retelling and amplification of the events described in Joshua 4, specifically referencing the purpose of the stones as a reminder for future generations to inquire about God's miraculous intervention.
"Coming generations were not to be without a witness to this great miracle. While the priests bearing the ark were still in the midst of Jordan, twelve men previously chosen, one from each tribe, took up each a stone from the river bed where the priests were standing, and carried it over to the western side. These stones were to be set up as a monument in the first camping place beyond the river. The people were bidden to repeat to their children and children's children the story of the deliverance that God had wrought for them, as Joshua said, “That all the people of the earth might know the hand of the Lord, that it is mighty: that ye might fear the Lord your God forever.” PP 484.3"
The EGW passage directly refers to the instruction in Joshua 4:6 regarding the stones taken from the Jordan River as a memorial and a reminder for future generations to ask about their meaning.
"magnify thee in the sight of all Israel, that they may know that, as I was with Moses, so I will be with thee.” And the result fulfilled the promise. “On that day the Lord magnified Joshua in the sight of all Israel; and they feared him, as they feared Moses, all the days of his life.” PP 484.4"
The EGW passage quotes directly from Joshua 4:14, referencing the Lord magnifying Joshua in the sight of all Israel.
Joshua 4:18"And it came to pass, when the priests that bare the ark of the covenant of the Lord were come up out of the midst of Jordan, and the soles of the priests’ feet were lifted up unto the dry land, that the waters of Jordan returned unto their place, and flowed over all his banks, as they did before."
"At the divine command the priests advanced to the middle of the channel and stood there while the entire host descended and crossed to the farther side. Thus was impressed upon the minds of all Israel the fact that the power that stayed the waters of Jordan was the same that had opened the Red Sea to their fathers forty years before. When the people had all passed over, the ark itself was borne to the western shore. No sooner had it reached a place of security, and “the soles of the priests’ feet were lifted up unto the dry land,” than the imprisoned waters, being set free, rushed down, a resistless flood, in the natural channel of the stream. PP 484.2"
The EGW passage closely mirrors the events described in Joshua 4:18, specifically the priests coming up out of the Jordan with the ark and the waters returning to their place. The language is very similar.
"Gilgal had been the place of Israel's first encampment in the Promised Land. It was here that Joshua, by divine direction, set up the pillar of twelve stones to commemorate the miraculous passage of the Jordan. Here circumcision had been renewed. Here they had kept the first Passover after the sin at Kadesh and the desert sojourn. Here the manna ceased. Here the Captain of the Lord's host had revealed Himself as chief in command of the armies of Israel. From this place they marched to the overthrow of Jericho and the conquest of Ai. Here Achan met the penalty of his sin, and here was made that treaty with the Gibeonites which punished Israel's neglect to ask counsel of God. Upon this plain, linked with so many thrilling associations, stood Samuel and Saul; and when the shouts of welcome to the king had died away, the aged prophet gave his parting words as ruler of the nation. PP 613.3"
The EGW passage directly references the setting up of the twelve stones in Gilgal as described in Joshua 4:20, among other events that occurred there. It's a clear and direct reference.