@Stahesh the purpose of life is to live, but the meaning of life is whatever you want to give it.
It's like a painting of your favorite song. The artist may have inspired by something specific or not when they created it, but you, as the consumer of the art, create your own meaning.
Searching for meaning outside of yourself is like asking other people what your favorite ice cream flavor should be.