When Parvati asked Shiva about the biggest virtue and sin a man can commit, Shiva answered with a Sanskrit shloka – नास्ति सत्यात् परो नानृतात् पातकं परम्।। Meaning, the biggest virtue of a man is to be honorable and always be truthful, whilst the biggest sin is to be dishonest or to support such an act. A person should always indulge in acts which are honest and true and does not harm the righteousness of their being.
As Shiva told Parvati about the greatest virtue, he added, the second thing a person should always diligently follow the rule of being a self-attester; meaning one should keep in check their own acts and we their own eye-witness. This would make sure that they do not indulge in heinous acts or acts which are morally incorrect.
Further, Shiva told Parvati, that people should never indulge or associate with any kind of action that involves sin through words, actions and thoughts or mind. Whatever a man reaps is the fruit of what he chose to sow in the first place. So, a person should be very mindful of how they choose their life and actions.
Attachment is the root cause of all problems. Attachment and endearment lead to stagnation and hinders success. When you are free of all attachment and temptations of the world, there is nothing that will stop you from achieving success in life. The only way to detach per Shiva is to train your mind and make it understand the temporariness of this human form.
Adding on to his teaching, Shiva tells Parvati that Temptations (mrigtrshna) is the only reason for all sufferings. A human being rather than running for one thing after the other should rather practice meditation and penance to attain salvation from the cycle of Karma and body bondage.