Your unhappiness doesn’t help anyone else – and in fact, as I mentioned in another answer, happy people are more altruistically inclined. So happiness is not a selfish goal.