The explanation of virtue is threefold. The first is called the supreme virtue, which is inculcated in the Vedas. The second is what is laid down in Dharmashastras. The third is called the honest behaviour, which is observed by the pious.
वेदोक्तः परमो धर्मो धर्मशास्त्रेषु चापरः। शिष्टाचारश्च शिष्टानां त्रिविधं धर्मलक्षणम्।