In ‘Hilyat al-Awliya” (10/287), it’s related that al-Junayd said:
الإنسان لا يعاب بما في طبعه إنما يعاب إذا فعل بما في طبعه
''A person is not to be blamed for his nature. Rather, he is to be blamed if he acts according to his nature.”
This is a very deep statement.A person should not bring his status as an imperfect human being to serve as an excuse for manifesting blameworthy characteristics and actions. Yes, we were fashioned with varying degrees of negative attributes within us, such as envy, greed, lack of gratitude, arrogance, the desire to commit certain sins, etc.
However, we were also fashioned with the ability to repel, change, and strive against the inclinations to openly manifest them.
It is possible to abandon negative traits you find in yourself and change your character for the better. You just have to know what you want to become, and want it badly enough to put up a fight whenever the negative traits that get in the way begin to surface.