Having a purpose in life is critically important to our mental and physical well-being.
One technique I use is to imagine you are celebrating your 90th birthday with family and friends. Each one comes up to a podium and tells the audience how you have played a role in his/her life. What do you want them to say; what do you want the others to hear? A life coach may be able to help you with this.