Once upon a time, there lived a prince named Shramanabhadra. He had no attraction towards worldly pleasures. Later on, he decided to lead the life of a monk and was initiated by Acharya Dharmaghosha. He made a thorough study of the Jain Aagams and tried to inculcate the qualities of tolerance, strength, patience and will power. He then undertook Ekal-vihar Pratima which involved wandering from place to place all alone to practice meditation.
The monk enduring the pain, caused by mosquitoes and other insects, with equanimity.
Once on a cold night, while meditating in a his body causing him immense pain. But he thought, "This pain is temporary and is much less than the pain and sufferings one has to suffer in hell." He, therefore, continued to meditate and while doing so he recalled that the body is different from the soul. One who wants salvation should put an end to the attachment for the body and work only for the upliftment of the soul.
Thus the monk endured the pain with equanimity. However, the mosquitoes made him almost bloodless, due to which he died same night.
If we have the will power to endure and fight courageously in adverse circumstances we can achieve whatever we want in life.