>>941248231 (OP)
i don't know
in the Hebrew scriptures, there is no concept of the afterlife as it later developed in Christianity; except for a few figures like Enoch and Elijah who were taken up to God directly, the common fate for all men was believed to be sheol, the grave, basically a gloomy sort of shadow existence similar to the Greek conception of Hades
between the time most of the Hebrew scriptures were written and the time of Jesus (the Second Temple period of Judaism), Jews developed the idea of an immortal soul and dualism, thanks to the influence of Hellenism and Zoroastrianism, respectively
the New Testament isn't univocal about the afterlife, as Paul clearly believed that during his lifetime, or the lifetimes of the people he was writing to, Jesus would return, dead Christians would rise from their graves, and living Christians would meet Jesus in the clouds and be given new, incorruptable bodies
Islam developed its idea of the afterlife from Jewish, Christian, and Zoroastrian ideas
the dharmic religions (Hinduism, Buddhism, Jainism) generally believe in a cycle of rebirth, with the possibility of escape by following various meditation or tantric practices
most materialists reject mind-body dualism and posit that the cessation of brain function more or less coincides with the cessation of consciousness, and that there is no afterlife, just life, then nothing
then again, we would be existing in a simulation run by the far-future descendents of people living today or by aliens, in which case whatever the entities running the simulation want to happen will happen
so nobody knows, but lots of people say they do