You're not a failure at all!

You did nothing wrong! This disease is incredibly challenging to live with and many people live barely getting through life because of it. Some end up jobless and homeless. Just overcoming it, having a steady job, and making it thus far is such an immense obstacle and is a huge feat that you should give yourself a pat on the back for.