Matsya Purana — Lineage of Yayāti through Yadu and the Deeds of Kārtavīrya Arjuna
पूर्वं बाहुसहस्रं तु स वव्रे राजसत्तमः अधर्मं चरमाणस्य सद्भिश्चापि निवारणम् //
pūrvaṃ bāhusahasraṃ tu sa vavre rājasattamaḥ adharmaṃ caramāṇasya sadbhiścāpi nivāraṇam //
Formerly, that best of kings undertook this vow: that one who acts in unrighteousness (adharma) should be restrained—even by the good and virtuous.
This verse is not about Pralaya; it is a rajadharma teaching emphasizing that adharma must be actively checked to preserve social order.
It frames a core duty of kingship: preventing wrongdoing. It also implies a civic ethic—virtuous people should not be passive when adharma is being practiced, but should help restrain it within dharmic limits.
No Vastu/temple-building or ritual procedure is mentioned here; the focus is ethical governance and the suppression of adharma.