"“During the past night many things have been presented to me regarding our present dangers, and some things about our publishing work have been brought most distinctly to my mind. LS 391.4"
"Surely the Lord God will do nothing, but he revealeth his secret unto his servants the prophets."
Both passages relate to the idea of God revealing information to his servants. The EGW passage describes receiving insights, while Amos 3:7 states God reveals his secrets to prophets. The connection is thematic and relevant.
"He revealeth the deep and secret things: he knoweth what is in the darkness, and the light dwelleth with him."
Both passages deal with the idea of receiving revelation or insight into hidden or important matters. The EGW passage speaks of receiving information about dangers and publishing work, while Daniel 2:22 speaks of God revealing deep and secret things. The connection is thematic, not a direct quote or explicit allusion.