In ancient times it was believed that the soul on leaving the body had to pass over the Brig of the Dead.
This was a bridge that was as narrow as a piece of cotton that crossed a great gulf.
If the soul falls off the Brig then the soul is lost.
But if the soul crosses successfuly, then they will enter heaven.