Matsya Purana — Manvantaras
अप्रद्वेषो ह्यनिष्टेषु इष्टं वै नाभिनन्दति प्रीतितापविषादानां विनिवृत्तिर् विरक्तता //
apradveṣo hyaniṣṭeṣu iṣṭaṃ vai nābhinandati prītitāpaviṣādānāṃ vinivṛttir viraktatā //
One who bears no hatred toward the unpleasant and does not exult over the pleasant—whose delight, anguish, and dejection have ceased—such withdrawal is called dispassion (virakti).
It does not describe cosmic pralaya directly; it teaches an inner “dissolution” of reactive emotions—ending delight, distress, and dejection—which is presented as virakti (detachment).
It advises emotional impartiality: a ruler or householder should not hate adversity nor become intoxicated by success. Such steadiness supports fair judgment, restraint, and dharmic conduct amid praise/blame and gain/loss.
No Vastu or ritual procedure is stated; the relevance is indirect—rituals and temple acts are meant to be performed without attachment to pleasant outcomes or aversion to difficulties, aligning practice with inner detachment.