It is a choice we make. Perhaps the single most important choice in our lives. It is not something that happens to us, or a situation we stumble upon.
Consider that people can be happy in all sorts of situations. Subsistence farmers in rural India can be happy despite having few material possessions. Billionaires can be happy while riding private jets. Children can be happy playing with the silliest of toys. I often find myself happy just by watching animals.
If happiness is not predicated upon a specific event or situation, then it must be something that is chosen, consciously or unconsciously.
As such, if the ultimate pursuit of life is happiness….then we can all get exactly what we are here to get. We just need to decide.