This gets posted here often even though its a complete fantasy. The actual relationship between happiness and intelligence is well known to be the opposite. IQ correlates significantly with happiness.
https://bpspsychub.onlinelibrary.wiley.com/doi/abs/10.1111/b...