"and sackcloth, and ashes: and I prayed unto the Lord my God, and made my confession.” Verses 3, 4 . Though Daniel had long been in the service of God, and had been spoken of by heaven as “greatly beloved,” yet he now appeared before God as a sinner, urging the great need of the people he loved. His prayer was eloquent in its simplicity, and intensely earnest. Hear him pleading: PK 555.1"
"And I set my face unto the Lord God, to seek by prayer and supplications, with fasting, and sackcloth, and ashes:"
The EGW passage directly quotes Daniel 9:3 and references Daniel 9:4, explicitly alluding to Daniel's prayer and confession. The context in both passages is Daniel's earnest prayer for his people.
"And he said unto me, O Daniel, a man greatly beloved, understand the words that I speak unto thee, and stand upright: for unto thee am I now sent. And when he had spoken this word unto me, I stood trembling."
The EGW passage directly references Daniel's prayer and the fact that he was 'greatly beloved,' which is stated in Daniel 10:11. While the EGW passage focuses on Daniel's prayer of confession, and the verse focuses on Gabriel's message, the connection is still valid.
"“O Lord, the great and dreadful God, keeping the covenant and mercy to them that love Him, and to them that keep His commandments; we have sinned, and have committed iniquity, and have done wickedly, and have rebelled, even by departing from Thy precepts and from Thy judgments; neither have we hearkened unto Thy servants the prophets, which spake in Thy name to our kings, our princes, and our fathers, and to all the people of the land. PK 555.2"
"And I prayed unto the Lord my God, and made my confession, and said, O Lord, the great and dreadful God, keeping the covenant and mercy to them that love him, and to them that keep his commandments;"
The EGW passage directly quotes Daniel 9:4, making this a clear explicit allusion.
"And said, I beseech thee, O Lord God of heaven, the great and terrible God, that keepeth covenant and mercy for them that love him and observe his commandments:"
Both passages contain the phrase "O Lord, the great and dreadful/terrible God, keeping the covenant and mercy for them that love him and observe his commandments." While not a direct quote, the similarity is significant enough to confirm a thematic parallel.
"“O Lord, righteousness belongeth unto Thee, but unto us confusion of faces, as at this day; to the men of Judah, and to the inhabitants of Jerusalem, and unto all Israel, that are near, and that are far off, through all the countries whither Thou hast driven them, because of their trespass that they have trespassed against Thee.... PK 555.3 “To the Lord our God belong mercies and forgiveness, though we have rebelled against Him.” “O Lord, according to all Thy righteousness, I beseech Thee, let Thine anger and Thy fury be turned away from Thy city Jerusalem, Thy holy mountain: because for our sins, and for the iniquities of our fathers, Jerusalem and Thy people are become a reproach to all that are about us. PK 555.4"
"O Lord, to us belongeth confusion of face, to our kings, to our princes, and to our fathers, because we have sinned against thee."
The EGW passage directly quotes Daniel 9:8, making it a clear explicit allusion.