What does Swedenborg say about Freedom?
Doing harmful things in freedom seems to be freedom, but it is actually slavery. It comes from selfish and materialistic loves, which come from hell. (The Heavenly City §142)
All freedom is a matter of love, even to the point that love and freedom are the same thing. Since love is our life, freedom is also essential to our life. Every pleasure we experience comes from our love; there is no other source of pleasure. Acting for the sake of the pleasure of our love is acting in freedom, because pleasure leads us along, the way a river bears its burdens quite naturally along its current. Since we have many loves, some of which agree with each other and some of which disagree, it follows that we likewise have many kinds of freedom. In general, though, there are three kinds: earthly, rational, and spiritual. (Divine Providence §73:2)