The right will is, therefore, well-directed love, and the wrong will is ill-directed love. Love, then, yearning to have what is loved, is desire; and having and enjoying it, is joy; fleeing what is opposed to it, it is fear; and feeling what is opposed to it, when it has befallen it, it is sadness. Now these motions are evil if the love is evil; good if the love is good. What we assert let us prove from Scripture. The apostle "desires to depart, and to be with Christ." And, "My soul desired to long for Thy judgments;" or if it is more appropriate to say, "My soul longed to desire Thy judgments...." And, "The desire of wisdom bringeth to a kingdom."
Source: City of God 14.7