The quote suggests that being unhappy alone is preferable to being unhappy with someone, at least for the time being. It implies that solitude may be a temporary solution to avoid the added misery of a problematic relationship.