Is there a greater purpose than personal happiness? What is that purpose? And how is it greater?
This is happiness in the sense of contentedness, or fulfillment.
"Are you happy in life?" is not asking if you are always merry. It is asking if your life is, on balance, a fulfilling one.
So which is more important? When I speak of the greater good i'm talking about things like making laws that restrict certain actions or monitor certain actions so people can be kept safe kind of deal.