"Curse'd be that judge so cruel Thirteen years may he lie bleeding Thirteen doctors cannot cure him Thirteen shelves of drugs not heal him!"
Great curse! Song structure and references to the powerful judge and overlord as well as the judge's golden bed all point to an 18th century origin more or less.