The only service a friend can really render is to keep up your courage by holding up to you a mirror in which you can see a noble image of yourself.
Don't argue for other people's weaknesses. Don't argue for your own. When you make a mistake, admit it, correct it, and learn from it - immediately.