Even if this person gets a job that requires him to stay up all night will do so as he needs to earn money. This is the nature of human beings. When he knows the value of something, he will try to attain it even if it be hard for him.
Allah Ta'ala has granted us the gift of Tahajjud Prayer. Through this prayer, we can get many blessings from Allah. Problems such as sickness, family issues, money, hunger, etc can easily be removed by praying to Allah at Tahajjud time. However, because we did not recognize the value of this prayer, it is very difficult for us to spare only 10-20 minutes of our sleep to get up and pray. On the other hand, for some money, we are ready to stay up the whole night.