The meaning of life is to search for the truth and pass the test. But if you haven't got the thirst for immortality you just follow your instincts, and risk getting punished for your bad deeds.
Yes there is an afterlife because there's also a God, and he wants his loyal followers to join him in eternity. Some people will be punished and then deleted after judgement day, and their souls will cease to exist.









j/k.