But, of course, the number 13 stands on its own as a harbinger of misfortune. It's been speculated that 13 may have gotten its reputation from the Code of Hammurabi, the Bible, or another ancient text.