"The field is wasted, the land mourneth; for the corn is wasted: the new wine is dried up, the oil languisheth. Be ye ashamed, O ye husbandmen; howl, O ye vinedressers, for the wheat and for the barley; because the harvest of the field is perished. The vine is dried up, and the fig tree languisheth; the pomegranate tree, the palm tree also, and the apple tree, even all the trees of the field, are withered: because joy is withered away from the sons of men."
Ellen White directly references Joel 1:10-12 in this passage.
"And the songs of the temple shall be howlings in that day, saith the Lord God: there shall be many dead bodies in every place; they shall cast them forth with silence."
Ellen White directly references Amos 8:3 in this passage.
"These plagues are not universal, or the inhabitants of the earth would be wholly cut off. Yet they will be the most awful scourges that have ever been known to mortals. All the judgments upon men, prior to the close of probation, have been mingled with mercy. The pleading blood of Christ has shielded the sinner from receiving the full measure of his guilt; but in the final judgment, wrath is poured out unmixed with mercy. GC 628.2"
"And except those days should be shortened, there should no flesh be saved: but for the elect’s sake those days shall be shortened."
Both passages address the idea of a time of great tribulation and judgment. Matthew 24:22 speaks of days that would be shortened to save some, implying a potentially universal destruction. The EGW passage discusses plagues that are not universal but are the most awful ever known, and a final judgment where wrath is unmixed with mercy. The connection is in the shared theme of a future time of intense suffering and divine judgment.