The whole of human conduct may be divided into acts that are commanded, acts that are forbidden, and acts necessary to the maintenance of physical existence and just sufficient to meet human needs, such as eating, drinking, speaking enough to settle the affairs of the world, and so on. For every act that goes beyond the limit of the necessary, whether by tending to excess or to deficiency, cannot fail to be ranked among the acts commanded by reason or by Scripture, if its intention is to serve God, or among the forbidden acts, if this overstepping does not aim at serving God.
Thus the eating of sufficient food is also commanded by the Torah, and, since this is so, it is clear that every possible intentional act of the sons of men is either commanded or forbidden, and that he who performs a commanded act (by reason or by Scripture) does a good deed; if he does not perform it, he fails in his duty. Likewise, performing an act forbidden by reason or by Scripture is a sin, and refraining from it, if one refrains out of reverence for the Eternal, is righteous. And performing the acts that are not forbidden with moderation and as is fitting is righteous.
Thus the eating of sufficient food is also commanded by the Torah, and, since this is so, it is clear that every possible intentional act of the sons of men is either commanded or forbidden, and that he who performs a commanded act (by reason or by Scripture) does a good deed; if he does not perform it, he fails in his duty. Likewise, performing an act forbidden by reason or by Scripture is a sin, and refraining from it, if one refrains out of reverence for the Eternal, is righteous.
Consider, then, that all the actions of men, without exception, are good or evil; and the intelligent man is he who weighs all his actions on this scale before performing them, examines them with all the reflection he is capable of and all the strength of his intelligence, chooses the best and renounces all the others. The sage (Ecclesiastes, XII) classes all works as good or evil: “For God shall bring every work into judgment, with every secret thing, whether it be good or whether it be evil.”