how am I supposed to react?

My friend, she's really upset about a situation with a boy.  I went to my boy friend with the situation, to gain a boys perspective. He told me, he doesn't care, my friend is dick dumb, and that it doesn't make him money so he is t concerned with it and I should be either... I don't know how to react? I already shared with him how I value my friend and her feelings, and that matters to me. He told me again, I gave my own problems and solving hers don't solve mine, and I should care because it makes no money.... HOW. DO. I. REACT?  Is he right? should I turn my back to my best friend how he wants me too?  What should I say to him?