I have been there, done that, got the t-shirt. But. Being treated like this makes you turn inward and be kind of prickly. It's hard to see what can be different, and your efforts to protect yourself can cause you to even cause what you fear.
There are companies out there that will value what you, specifically, bring. But you have to start truly believing that the package you have is really valuable and learn how to sell that. When you interview, present yourself as yourself. A lot of companies will pass on that, and, that's great--you dodged a bullet. But the ones that accept the real you that you show in interviews, against all conventional advice--they want you.