What is the purpose of life? A tough question. Let us start with the easy stuff and work our way toward the harder question.
The purpose of the Great Recession was the election of President Obama.
The purpose of Donald Trump is the election of Bernie Sanders.
The purpose of your life and mine is leaving the earth a little bit better than we found it.
The purpose of life itself is living in harmony with all other forms of life on earth and the environment itself so that life on earth will continue indefinitely. What comes next, I cannot say.