"As the time approached for the close of the seventy years' captivity, Daniel's mind became greatly exercised upon the prophecies of Jeremiah. He saw that the time was at hand when God would give His chosen people another trial; and with fasting, humiliation, and prayer, he importuned the God of heaven in behalf of Israel, in these words: "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" (Dan. 9:4-6).
Daniel does not proclaim his own fidelity before the Lord. Instead of claiming to be pure and holy, this honored prophet humbly identifies himself with the really sinful of Israel. The wisdom which God had imparted to him was as far superior to the wisdom of the great men of the world as the light of the sun shining in the heavens at noonday is brighter that the feeblest star. Yet ponder the prayer from the lips of this man so highly favored of Heaven. With deep humiliation, with tears and rending of heart, he pleads for himself and for his people. He lays his soul open before God, confessing his own unworthiness and acknowledging the Lord's greatness and majesty."
The Sanctified Life (E.G. White) pp. 46-47
Daniel was best known as a praying man by praying 3 times a day, yet he identified himself with the really sinful of Israel. Men can learn not to be proud and boastful, but be humble.