To have the management of the mind is a great art, and it may be attained in a considerable degree by experience and habitual exercise.