If spam wasn’t profitable, it would most likely stop. Sending out millions of emails is cheap that it only requires a small percentage of people to respond to the spam. Apparently, enough people are responding since it keeps being sent. Phishing attempts are more targeted but also have a payoff if successful.
This infographic gives some numbers surrounding phishing and how people might fall for them.