Most Smriti Texts mention about such ethical conducts.I I am here quoting from the Atri Smriti.
A really accomplished person does not try to suppress another's merit : he praises another's accomplishments ; he does not laugh at another's shortcomings ; [such a spirit] is called Anasuya (want of jealousy).
Renunciation of forbidden food, association with those who are not badly spoken of, and abiding by good conduct is spoken of as S'oucha (purity).
To follow good conduct always and to renounce a bad one, has been described as Mangala by the 'R.ishis well-read in Religious Codes. (36)
One should not do, to an excess, what afflicts the body, whether good or bad. This is called Anayasa (want of exertion). (37)
One should be contented with all articles, whenever what arrives ; one should not long for another's wives ; this is called Aspriha (want of desire). (38)
If external or spiritual pain is created by others, and one is not offended and does not wreak revenge, it (i.e., the spirit) is called Dama. (39
Even from a limited income, something should be given away daily with care and liberal spirit. This is called Dana (charity). (40)
One should behave, like his own self, towards others, his own relations and friends, him who envies him, and an enemy. This is called Daya (mercy). (41)
Atri Smriti Chapter 1,Verses Verses 34-41