No, not at afailure at all.
Admitting that you need help, that you need support takes a STRONG person. Being ill is not a failure. Had you know you were ill and not tried to do anything to get yourself better, that is failing yourself, but you have done the opposite, you are fighting for yourself, you are taking steps forward to getting better.
Not a failure, the total opposite.