Integrity and character are about values and how you plan to behave and expect to have others behave towards you. They are not the same as your ability to process emotions that emerge as a result of that behaviour.
Having values is important. Integrity, humility, all of that, absolutely useful.
They are not in themselves sufficient to assure you of good mental health.