Jewish writings refer to a "new earth" as the abode of mankind following the resurrection of the dead. Originally, the two ideas of immortality and resurrection were different but in rabbinic thought they are combined: the soul departs from the body at death but is returned to it at the resurrection. This idea is linked to another rabbinic teaching, that men's good and bad actions are rewarded and punished not in this life but after death, whether immediately or at the subsequent resurrection. Around 1 CE, the Pharisees are said to have maintained belief in resurrection but the Sadducees are said to have denied it (Matt. 22:23).