You may have failed, but you are not a failure. That's what you did. That's not who you are.
or simply: