The story
Possibly from the former practice of bakers adding a thirteenth loaf of bread to a batch of twelve loaves in order to avoid punishment for accidentally selling underweight bread.
First known use, by meaning
- from 1590s Thirteen; a group of thirteen.
Etymology from Wiktionary, CC BY-SA 4.0.