Life Mysteries

What is the meaning of life? Does purpose precede existence? Apart from serving God do have any other purpose? What is life if there’s nothing to live for? What is life with no friends, no family?