Arcana Coelestia #21
21. Verses 4-5 And God saw that the light was good; and God made a distinction between the light and the darkness. And God called the light Day, and the darkness He called Night.
The light is called good, because it comes from the Lord, who is good itself. 'The darkness' is those things which were there prior to the person's new conception and birth. They were seen as light, because evil was seen as good, and falsity as truth. But in reality they are darkness and things proper to that person which are lingering on. All things that are the Lord's, being things of light, are compared to the day, and all that are man's own, being those of thick darkness, are compared to the night, as is done many times in the Word.
Arcana Coelestia #2870
2870. HUMAN FREEDOM
Few know what freedom is and what non-freedom is. Freedom seems to entail everything that is in keeping with any love and associated delight, and non-freedom to entail everything that is at variance with these. That which is in keeping with self-love and love of the world, and with the desires belonging to those loves, seems to man to be freedom; but that is the freedom of hell. That however which is in keeping with love to the Lord and love towards the neighbour, consequently with the love of what is good and true, is true freedom, being the freedom that exists in heaven.