Daniel 10:3
I ate no pleasant bread, neither came flesh nor wine in my mouth, neither did I anoint myself at all, till three whole weeks were fulfilled. I ate no pleasant bread, neither came flesh nor wine in my mouth, neither did I anoint myself at all, till three whole weeks were fulfilled.
The verse records three full weeks of fasting in which there was no eating of pleasant bread and no taking of flesh or wine into the mouth, with no anointing at all until the three whole weeks were fulfilled. It was a time of mourning and of afflicting the soul before God in humiliation and chastening, with most earnest prayer in tears and with confession, and with fear and trembling, though the one praying was greatly beloved of God. He had set his heart to understand the vision and was seeking further light and wisdom and understanding of God's purposes. That devotion to seeking heavenly wisdom was placed before the affairs and comforts of life.
Such earnest prayer moved heaven to his aid, so that ministering angels came to give him communication from God in vision, and he was assured that his prayer was heard. The Son of God came with another messenger to teach him concerning events in the latter days. The passage belongs to the prophecies of Daniel 7-12, which were not fully understood by Daniel and were sealed until the time of the end.
The vision was received by the Hiddekel River, and its prophetic light was especially for the last days, with the foretold events in process of fulfillment and soon to come to pass. Joining fasting to confession of sin is the way God honors with understanding and strength and forgiveness, making such humility and contrition that confesses sin and receives forgiveness the example of true greatness.