What is the meaning of life?

Every one leaves a legacy. Doesn’t matter if they want to leave it or not. Every one leaves a legacy to this world. If a person is successful they will leave behind a legacy of success. If a person is lazy they will leave behind a legacy of a burden. Like an artist who is rejected during his life time and is understood after his death. It is like his perception would be passed on to those who are left behind. Like vise a persons death seals his life and is the last sentence in the will that he leaves behind.

Q: The meaning of life?
A: To leave that kind of legacy you want.