We left Daniel, in the close of the foregoing chapter, employed in the king's business; but here we have him employed in better business than any king had for him, speaking to God and hearing from him, not for himself only, but for the church, whose mouth he was to God, and for whose use the oracles of God were committed to him, relating to the days of the Messiah. Observe, 1. When it was that Daniel had this communion with God (Dan 9:1), in the first year of Darius the Mede, who was newly made king of the Chaldeans, Babylon being conquered by him and his nephew, or grandson, Cyrus. In this year the seventy years of the Jews' captivity ended, but the decree for their release was not yet issued out; so that this address of Daniel's to God seems to have been ready in that year, and, probably, before he was cast into the lions' den. And one powerful inducement, perhaps, it was to him then to keep so close to the duty of prayer, though it cost him his life, that he had so lately experienced the benefit and comfort of it. 2. What occasioned his address to God by prayer (Dan 9:2): He understood by books that seventy years was the time fixed for the continuance of the desolations of Jerusalem. Dan 9:2. The book by which he understood this was the book of the prophecies of Jeremiah, in which he found it expressly foretold (Jer 29:10), After seventy years be accomplished in Babylon (and therefore they must be reckoned from the first captivity, in the third year of Jehoiakim, which Daniel had reason to remember by a good token, for it was in that captivity that he was carried away himself, Dan 1:1), I will visit you, and perform my good word towards you. It was likewise said (Jer 25:11), This whole land shall be seventy years a desolation (chorbath), the same word that Daniel here uses for the desolations of Jerusalem, which shows that he had that prophecy before him when he wrote this. Though Daniel was himself a great prophet, and one that was well acquainted with the visions of God, yet he was a diligent student in the scripture, and thought it no disparagement to him to consult Jeremiah's prophecies. He was a great politician, and prime-minister of state to one of the greatest monarchs upon earth, and yet could find both heart and time to converse with the word of God. The greatest and best men in the world must not think themselves above their Bibles. 3. How serious and solemn his address to God was when he understood that the seventy years were just upon expiring (for it appears, by Ezekiel's dating of his prophecies, that they exactly computed the years of their captivity), then he set his face to seek God by prayer. Note, God's promises are intended, not to supersede, but to excite and encourage, our prayers; and, when we see the day of the performance of them approaching, we should the more earnestly plead them with God and put them in suit. So Daniel did here; he prayed three times a day, and, no doubt, in every prayer made mention of the desolations of Jerusalem; yet he did not think that enough, but even in the midst of his business set time apart for an extraordinary application to Heaven on Jerusalem's behalf. God had said to Ezekiel that though Daniel, among others, stood before him, his intercession should not prevail to prevent the judgment (Eze 14:14), yet he hopes, now that the warfare is accomplished (Isa 40:2), his prayer may be heard for the removing of the judgment. When the day of deliverance dawns it is time for God's praying people to bestir themselves; something extraordinary is then expected and required from them, besides their daily sacrifice. Now Daniel sought by prayer and supplications, for fear lest the sins of the people should provoke him to defer their deliverance longer than was intended, or rather that the people might be prepared by the grace of God for the deliverance now that the providence of God was about to work it out for them. Now observe, (1.) The intenseness of his mind in this prayer; I set my face unto the Lord God to seek him, which denotes the fixedness of his thoughts, the firmness of his faith, and the fervour of his devout affections, in the duty. We must, in prayer, set God before us, an set ourselves as in his presence; to him we must direct our prayer and must look up. Probably, in token of his setting his face towards God, he did, as usual, set his face towards Jerusalem, to affect his own heart the more with the desolations of it. (2.) The mortification of his body in this prayer. In token of his deep humiliation before God for his own sins, and the sins of his people, and the sense he had of his unworthiness, when he prayed he fasted, put on sackcloth, and lay in ashes, the more to affect himself with the desolations of Jerusalem, which he was praying for the repair of, and to make himself sensible that he was now about an extraordinary work.