For example I can think of (obviously exaggerated) example: everyone lives absolutely happy as they are, but climate worsens so much than no one survives. In about 500 million years oceans will boil anyway. But fixing that will require many people to be unhappy.
PS: > what's the point of society?
Survival? Space expansion? Ubermensch / AI? Why, as you say, hedonism is the ultimate goal?