"Joshua appealed to the people themselves as witnesses that, so far as they had complied with the conditions, God had faithfully fulfilled His promises to them. “Ye know in all your hearts and in all your souls,” he said, “that not one thing hath failed of all the good things which the Lord your God spake concerning you; all are come to pass unto you, and not one thing hath failed thereof.” He declared to them that as the Lord had fulfilled His promises, so He would fulfill His threatenings. “It shall come to pass, that as all good things are come upon you, which the Lord your God promised you; so shall the Lord bring upon you all evil things.... When ye have transgressed the covenant of the Lord, ... then shall the anger of the Lord be kindled against you, and ye shall perish quickly from off the good land which He hath given unto you.” PP 522.1"
"And, behold, this day I am going the way of all the earth: and ye know in all your hearts and in all your souls, that not one thing hath failed of all the good things which the Lord your God spake concerning you; all are come to pass unto you, and not one thing hath failed thereof."
EGW directly quotes Joshua 23:14. The context is also the same.
"But it shall come to pass, if thou wilt not hearken unto the voice of the Lord thy God, to observe to do all his commandments and his statutes which I command thee this day; that all these curses shall come upon thee, and overtake thee:"
The EGW passage directly quotes and paraphrases Joshua's address to the people, which is based on Deuteronomy's covenant blessings and curses. The connection is explicit and central to the meaning.
"Satan deceives many with the plausible theory that God's love for His people is so great that He will excuse sin in them; he represents that while the threatenings of God's word are to serve a certain purpose in His moral government, they are never to be literally fulfilled. But in all His dealings with His creatures God has maintained the principles of righteousness by revealing sin in its true character—by demonstrating that its sure result is misery and death. The unconditional pardon of sin never has been, and never will be. Such pardon would show the abandonment of the principles of righteousness, which are the very foundation of the government of God. It would fill the unfallen universe with consternation. God has faithfully pointed out the results of sin, and if these warnings were not true, how could we be sure that His promises would be fulfilled? That so-called benevolence which would set aside justice is not benevolence but weakness. PP 522.2"
"For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord."
The EGW passage discusses the consequences of sin, specifically death, which is the central point of Romans 6:23. The connection is a direct reflection of the biblical principle.
"And the serpent said unto the woman, Ye shall not surely die:"
The EGW passage directly addresses the deception that God will not punish sin, which is the core message of the serpent's lie in Genesis 3:4. The connection is strong and relevant.
"God is the life-giver. From the beginning all His laws were ordained to life. But sin broke in upon the order that God had established, and discord followed. So long as sin exists, suffering and death are inevitable. It is only because the Redeemer has borne the curse of sin in our behalf that man can hope to escape, in his own person, its dire results. PP 522.3"
"For the wages of sin is death; but the gift of God is eternal life through Jesus Christ our Lord."
The EGW passage directly echoes the principle that sin leads to death, which is the core message of Romans 6:23. It also highlights the role of the Redeemer in escaping this fate, further strengthening the connection.
"Before the death of Joshua the heads and representatives of the tribes, obedient to his summons, again assembled at Shechem. No spot in all the land possessed so many sacred associations, carrying their minds back to God's covenant with Abraham and Jacob, and recalling also their own solemn vows upon their entrance into Canaan. Here were the mountains Ebal and Gerizim, the silent witnesses of those vows which now, in the presence of their dying leader, they had assembled to renew. On every side were evidences of what God had wrought for them; how He had given them a land for which they did not labor, and cities which they built not, vineyards and oliveyards which they planted not. Joshua reviewed once more the history of Israel, recounting the wonderful works of God, that all might have a sense of His love and mercy and might serve Him “in sincerity and in truth.” PP 522.4"
"And Joshua gathered all the tribes of Israel to Shechem, and called for the elders of Israel, and for their heads, and for their judges, and for their officers; and they presented themselves before God."
The EGW passage directly describes the event in Joshua 24:1, where Joshua gathers the tribes at Shechem. It elaborates on the context and significance of the event, making the connection explicit.