that particular text is a post-christian Jewish production, I think.
The story itself may have more ancient origins in the tradition.
(
Moon Girl Technologies horrendous beanbag, Fri 22 May 2009, 13:04,
archived)
this is properly ancient:
There's loads of this sort of stuff
(
Moon Girl Technologies horrendous beanbag, Fri 22 May 2009, 13:06,
archived)