An old defense, badly aimed.
Centuries before Jenner, healers across China, India, and the Ottoman Empire practiced variolation — deliberately infecting a healthy person with matter from a mild smallpox case to trigger immunity. It worked, most of the time. It also killed roughly 1–2% of the people it was meant to protect, and could still spread the disease to others. Lady Mary Wortley Montagu, who had survived smallpox and lost a brother to it, brought the practice to England in 1721.