329. THE TEN COMMANDMENTS OF THE DECALOGUE CONTAIN ALL THINGS THAT BELONG TO LOVE TO GOD, AND ALL THINGS THAT BELONG TO LOVE TOWARD THE NEIGHBOR.
In eight of the commandments of the decalogue, the first, second, fifth, sixth, seventh, eighth, ninth, and tenth, there is nothing said of love to God and love toward the neighbor; since it is not said that God should be loved, that His name should be hallowed, that the neighbor should be loved and consequently that he should be dealt with sincerely and uprightly. It is only said, "Thou shalt have no other God before Me;" "Thou shalt not take the name of God in vain;" "Thou shalt not kill;" "Thou shall not commit adultery;" "Thou shalt not steal;" "Thou shalt not bear false witness;" "Thou shalt not covet what belongs to thy neighbor;" that is in general, that evil, either against God or the neighbor, is not to be cherished in will or thought, nor to be done. The reason why such things as relate directly to love and charity are not commanded, but only such things as are opposed to them are forbidden, is that so far as man shuns evils as sins, so far does he will the goods that pertain to love and charity. That the prime thing of love to God and the neighbor is not to do evil, and the second to do good, will be seen in the chapter on Charity.  There are two opposite loves, the love of desiring and doing good, and the love of desiring and doing evil; this latter is infernal and the other is heavenly; for all hell is in the love of doing evil, and all heaven in the love of doing good. Since then, man is born into all kinds of evil, and therefore from birth inclines to what pertains to hell, and since he cannot enter heaven unless he is born again or regenerated, it is necessary that evils, which belong to hell, should be removed before he can desire goods, which are heavenly. For no one can be adopted by the Lord until he is separated from the devil. But how evils are removed and man is brought to do good, will be shown in the two chapters, on Repentance, and on Reformation and Regeneration.  That evils must be put away, before the good that a man does becomes good in the sight of God, the Lord teaches in Isaiah:
Wash you, make you clean; put away the evil of your doings from before mine eyes; [cease to do evil], learn to do well, then though your sins be as scarlet, they shall be as white as snow; though they be red like crimson, they shall be as wool (Isaiah. 1:16-18).
The following, in Jeremiah, is similar:
Stand in the gate of Jehovah's house, and proclaim there this Word, Thus said Jehovah of Hosts, the God of Israel, Amend your ways and your doings; trust ye not in lying words, saying, The temple of Jehovah, the temple of Jehovah, the temple of Jehovah, is this [that is, the church]. Will ye steal, murder, and commit adultery, and swear through falsehood, and then come and stand before Me in this house, which is called by My name, and say, We are delivered, when ye are doing all these abominations? Is this house become a den of robbers? Behold, even I have seen it, saith Jehovah (7:2-4, 9-11).
 That before washing or purification from evils prayer to God is not heard is also taught in Isaiah:
Jehovah saith, Ah sinful nation, a people laden with iniquity, they have gone away backward. When ye spread forth your hands, I will hide mine eyes from you; yea, when ye make many prayers, I will not hear (1:4, 15).
That love and charity follow when by shunning evils what is commanded in the Decalogue is done is evident from the Lord's words in John:
Jesus said, He that hath My commandments and keepeth them, he it is that loveth Me and he that loveth Me shall be loved of My Father; and I will love him, and will manifest Myself to him: and We will make our abode with him (14:21, 23).
By commandments here the commandments of the Decalogue are particularly meant, which are that evils must not be done or lusted after, and that the love of man to God and the love of God toward man then follow as good follows when evil is removed.