This principle in the doctrines of holy living... goes very far, and strikes deep. The desire of knowledge, for instance, is generally considered a very innocent one. But whenever it becomes so strong as to disquiet the inward nature, and thus to perplex our intercourse with God, it is obviously wrong. It ought always, therefore, to be subject to a divine teaching; and to be merged and lost, as it were, like all the other natural desires, in the supreme desire for God's glory; a desire, which evidently is not the product of nature, but which can come from the inspiration of the Holy Ghost alone.
It is a very proper remark to be made also in this connection, that our most intimate friendships, which involve more or less of desire and generally strong desire, must be crucified. We are not at liberty to make an idol of our friends, however excellent their characters or however closely united by natural ties. Such inordinate friendships stand between the soul and God, and hinder it from reaching its true center; and we do not see, how they can be regarded in the divine sight as better than any other forms of idolatry. Even if those friends are eminent Christians, so much so as to bear the very image and likeness of the Savior himself, we cannot let our affections center upon them so as to make them the place of the soul's rest, without causing injury and offense to God.
To sum up all, which is to be said here, in a few words, we may probably assert correctly, that we are not to desire anything whatever out of the will of God. In other words, if we find a preference or choice in ourselves, in such a manner as to lead us to desire one thing rather than another irrespective of the will of God, we may justly conclude, that the state of mind, of which we are then the subjects, is a selfish and natural state, and not a truly religious and divine state. It is, therefore, to be rejected, and the mind is to remain without desire, until the will of God can be revealed and take effect in us.
— edited from The Interior or Hidden Life (1844) Part 2, Chapter 10.