Matsya Purana — Lineage of the Pitṛs
तथान्ये देवदैत्याश्च ब्राह्मणाः क्षत्रियास्तथा वैश्याः शूद्राश्च बहवः सिद्धिमीयुर्यथेप्सिताम् //
tathānye devadaityāśca brāhmaṇāḥ kṣatriyāstathā vaiśyāḥ śūdrāśca bahavaḥ siddhimīyuryathepsitām //
So too, many others—gods and daityas alike, and also brāhmaṇas, kṣatriyas, vaiśyas, and śūdras—attained the perfection they had desired.
This verse does not describe pralaya directly; it emphasizes that across cosmic and social categories (devas, daityas, and the four varṇas), beings can attain their intended spiritual or worldly accomplishment through the appropriate path taught in context.
By naming kṣatriyas and other varṇas, the verse implies that success (siddhi) is attainable through varṇa-appropriate dharma—rulers through righteous governance and protection, householders through disciplined duty, charity, and ritual conduct—yielding desired outcomes when aligned with prescribed practice.
No specific vāstu or temple-architecture rule is stated here; the takeaway is broader—ritual and disciplined practice (as taught in the surrounding discourse) is presented as efficacious for many kinds of beings and social roles.