Desirability of Seclusion at times of corruption committed by the people of the World

Riyad-us-Saliheen 597
Sa'd bin Abu Waqqas (May Allah be pleased with him) reported: Messenger of Allah (PBUH) said, "Allah loves a slave who is pious, free of all wants and the unnoticed."

[Muslim]

Isolation, according to this Hadith, is recommendable for the obedience and worship of Allah. It is particularly approved when the prevalent corruption and social intercourse endanger religion, or its implementation looks no more feasible.