The answer is if the rewards would outweigh the costs
According to empathy-altruism hypothesis, people who felt empathy would give help to others people regardless of the situation without hoping anyything in return. People without empathy on the other hand will only make sacrifice if they obtain something that had higher value than their sacrifice