Joey Lawsin said this quote

Mathematically, the purpose of life is to produce a result. In human terms, it is called Happiness.