Nobody is a waste of time, and that includes you.
We are often harder on ourselves than with others, especially when going through a depressive episode. These thoughts we have when depressed feel real but they are incorrect - you have value just like everyone else. I hope you are feeling better soon.