This is why the ten commandments were given, and why it is commanded in them that man shall not worship other gods, shall not profane the name of God, shall not steal, shall not commit adultery, shall not kill, shall not covet the house, wife, or servants of another, thus that man shall refrain from doing these things by thinking, when the love of evil allures and incites, that they must not be done because they are sins against God, and in themselves are infernal. So far, therefore, as a man shuns these evils so far the love of truth and good enters from the Lord; and this love causes man to shun these evils, and at length to turn away from them as sins. And as the love of truth and good puts these evils to flight it follows that man shuns them not from himself but from the Lord, since the love of truth and good is from the Lord. If a man shuns evils merely from a fear of hell they are withdrawn; but goods do not take their place; for as soon as the fear departs the evils return.

To man alone is it granted to think as if of himself about good and evil, that is, that good must be loved and done because it is Divine and remains to eternity, and that evil must be hated and not done because it is devilish and remains to eternity. To think thus is not granted to any beast. A beast can do good and shun evil, yet not of itself, but either from instinct or habit or fear, and never from the thought that such a thing is a good or an evil, thus not of itself. Consequently, one who would have it believed that man shuns evils or does goods not as if of himself but from an imperceptible influx, or from the imputation of the Lord's merit, would also have it believed that man lives like a beast, without thought of, or perception of, or affection for, truth and good.

That this is so has been made clear to me from manifold experience in the spiritual world. Every man after death is there prepared either for heaven or for hell. From the man who is prepared for heaven evils are removed, and from the man who is prepared for hell goods are removed; and all such removals are effected as if by them. Likewise those who do evils are driven by punishments to reject them as if of themselves; but if they do not reject them as if of themselves the punishments are of no avail. By this it was made clear that those who hang down their hands, waiting for influx or for the imputation of the Lord's merit, continue in the state of their evil and hang down their hands forever.

To shun evils as sins is to shun the infernal societies that are in them, and man cannot shun these unless he repels them and turns away from them; and a man cannot turn away from them with repulsion unless he loves good and from that love does not will evil. For a man must either will evil or will good; and so far as he wills good he does not will evil; and it is granted him to will good when he makes the commandments of the Decalogue to be of his religion, and lives according to them.

Since man must refrain from evils as sins as if of himself, these ten commandments were inscribed by the Lord on two tables, and these were called a covenant; and this covenant was entered into in the same way as it is usual to enter into covenants between two, that is, one proposes and the other accepts, and the one who accepts consents. If he does not consent the covenant is not established. To consent to this covenant is to think, will, and do as if of oneself. Man's thinking to shun evil and to do good as if of himself is done not by man, but by the Lord.

This is done by the Lord for the sake of reciprocation and consequent conjunction; for the Lord's Divine love is such that it wills that what is its own shall be man's, and as these things cannot be man's, because they are Divine, it makes them to be as if they were man's. In this way reciprocal conjunction is effected, that is, that man is in the Lord and the Lord in man, according to the words of the Lord Himself in John (xiv. 20); for this would not be possible if there were not in the conjunction something belonging as it were to man. What man does as if of himself he does as if of his will, of his affection, of his freedom, consequently of his life. Unless these were present on man's part as if they were his there could be no receptivity, because nothing reactive, thus no covenant and no conjunction; in fact, no ground whatever for the imputation that man had done evil or good or had believed truth or falsity, thus that there is from merit a hell for anyone because of evil works, or from grace a heaven for anyone because of good works. (A.E., n. 971.)

He who refrains from thefts, understood in a broad sense, and even shuns them from any other cause than religion and for the sake of eternal life, is not cleansed of them; for only by such refraining is heaven opened. For it is through heaven that the Lord removes evils in man, as through heaven He removes the hells. For example, there are higher and lower managers of property, merchants, judges, officers of every kind, and workmen, who refrain from thefts, that is, from unlawful modes of gain and usury, and who shun these, but only to secure reputation and thus honor and gain, and because of civil and moral laws, in a word, from some natural love or natural fear, thus from merely external constraints, and not from religion; but the interiors of such are full of thefts and robberies, and these burst forth when external constraints are removed from them, as takes place with everyone after death. Their sincerity and rectitude is nothing but a mask, a disguise, and a deceit. (A.E., n. 972.)

So far then as the various kinds and species of theft are removed, and the more they are removed, the kinds and species of goods to which they by opposition correspond enter and occupy their place; and these have reference in general to what is sincere, right and just. For when a man shuns and turns away from unlawful gains through fraud and craft he so far wills what is sincere, right, and just, and at length begins to love what is sincere because it is sincere, what is right because it is right, and what is just because it is just. He begins to love these things because they are from the Lord, and the love of the Lord is in them. For to love the Lord is not to love the person, but to love the things that go forth from the Lord, for these are the Lord in man; thus it is to love sincerity itself, right itself, and justice itself. And as these are the Lord, so far as a man loves these, and thus acts from them, so far he acts from the Lord and so far the Lord removes insincerity and injustice in respect to the very intentions and volitions in which they have their roots, and always with less resistance and struggle, and therefore with less effort than in the first attempts. Thus it is that man thinks from conscience and acts from integrity,—not the man of himself but as if of himself; for he then acknowledges from faith and also from perception that it seems as if he thought and did these things from himself, and yet he does them not from himself but from the Lord. (A.E., n. 973.)

When a man begins to shun and turn away from evils because they are sins all things that he does are good, and may be called good works; with a difference according to the excellence of the use. For what a man does before he shuns and turns away from evils as sins are works done by the man himself; and as the man's own (proprium), which is nothing but evil, is in these, and they are done for the sake of the world, so they are evil works. But the works that a man does after he shuns and turns away from evils as sins are works from the Lord, and because the Lord is in these and heaven with Him they are good works.

The difference between works done by man and works done by the Lord in man is not apparent to man's vision, but is clearly evident to the vision of angels. Works done by man are like sepulchers outwardly whitened, which within are full of dead men's bones. They are like platters and cups outwardly clean, but containing unclean things of every kind. They are like fruits inwardly rotten, but with the outer skin still shining; or like nuts and almonds eaten by worms within, while the shell remains untouched; or like a foul harlot with a fair face. Such are the good works done by man himself, since however good they appear on the outside, within they are full of impurities of every kind; for their interiors are infernal, while their exteriors appear heavenly.