Roko’s Basilisk, as told in the oldest extant collection of jokes, the Philogelos, c. 4th century AD.
A pedant having fallen into a pit called out continually to summon help. When no one answered, he said to himself, “I am a fool if I do not give all a beating when I get out in order that in the future they shall answer me and furnish me with a ladder.”
Roko’s Basilisk, as told in the oldest extant collection of jokes, the Philogelos, c. 4th century AD.
H/T Dynomight.