The purpose of each person's life is not the same. It depends on which side he looks at it. For me personally as a Muslim, my purpose of life is to look forward to God's blessing by executing all his commands and avoiding all his prohibitions. Benefits to others and spread the good to others.