He had gone blind because the price had taken away his two gems. The swallow made the decision to live with the prince forever as a result.
It can be assumed that the swallow chose to remain rather than travel to Egypt to be with his friends because he was so moved by the prince's generosity.
This implies that good-hearted individuals consistently draw lifelong friendships.