Utility = happiness, no?

I mean if the aim is to maximise happiness, killing everyone would achieve maximum utility.

I'm just speculating here btw.