The way of Godliness consists of these two things: True (pious) doctrines and good works. Without good works, true faith is not acceptable to God, likewise, good works are not acceptable to Him in the absence of True Faith (pious dogma).
Solitude offers us an excellent opportunity for calming our passions and giving our reason time to remove them thoroughly from our soul. For just as wild animals can be soothed by being stroked, so all our anger, fear and stress, which poison and disrupt our soul, can be soothed by an atmosphere of peace where the freedom from constant disturbance ensures that our soul can be brought more easily under the power of reason.