Their original purpose was to fight tyranny and free the people through enlightenment.
But all organizations and institutions have been infiltrated and corrupted. Probably especially masons because the Y heads couldn’t risk another rebellion Not just the American Revolution but also the French Revolution was fomented by Freemasons.