“Here’s the equation: slight edge + happy habits = success.”
Happiness is not something you pursue, it’s something you do. In fact, happiness is generated by simple, easy things we do every day, while unhappiness is created by not doing those things. It has a lot less to do with genetics, luck or circumstance than we think it does.
Practising a positive perspective can help you form happy habits which will lead you to happiness. Essentially, this means to have a positive outlook on life - look for the good in everything, count your blessings, do kind things for others, etc.
Happier people have been found to have better physical, mental and social health as a result of their positive outlook. This means that success would not bring you happiness, but happiness can bring you success.