The deity's were different but both believed in a life after death. Ancient Egyptian embalming was done to make the deceased more acceptable and later adopted by Christians for much the same reason.
Many different cultures have some after or between lives mythologies. It's kind of a fun topic to explore.