the brain is a machine, following that, there are mechanisms for overriding any pre-existing circuits.
but, the problem with happiness is that it leads no where in the modern context.
for example, many people who do very repetitive/ tough/ painful jobs smoke cigarettes, drink massive amounts of coffee, alcohol, drugs, etc.
That is the hijacking of our biology which allows _the job_ to continue despite the pointless waste of life that it is.
The existential futility is the periods of sobriety, but most humans do not exist in this state much before their next injection ala happiness_industries..
Humanity chases an abstraction of progress, we're not really sure this works, The Earth Ecosystem has about 20-50 years left. We're in the last leg of this 6th extinction (Holocene).