A: the actual quote is: “Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety”
B: the CONTEXT is important, because it's about a tax dispute, and the term "purchase" in there is key. "Essential Liberty" means the ability of a government to tax within its jurisdiction. "purchase a little temporary safety" was about the Penn family, absentee owners of the Pennsylvania colony, instructing their governor to veto any ability for the local government to tax their property to pay for military spending.
So it's a letter by a government legislator to the governor appointed by a bunch of absentee landlords who keep trying to escape paying taxes, telling them that if they don't want to be taxed to pay for war meant to protect their security, that they shouldn't expect to be defended by that government. Oh, and that they can't just purchase their way out with their offered single lump sum payment, which is what they'd offered.
As noted by Benjamin Wittes, a senior fellow at the Brookings Institution and the editor of Lawfare:
"It is a quotation that defends the authority of a legislature to govern in the interests of collective security. It means, in context, not quite the opposite of what it's almost always quoted as saying but much closer to the opposite than to the thing that people think it means."
A more extensive, in-depth analysis can be found here:
Might be an idea to see who used it first to mean the almost opposite of what it was meant to be, use them as the "new" author? You know, the one who took a quote at of context and turned it into another famous quote that meant the opposite of what it was originally meant to do by the original author?