I agree both that she should not have treated you so dismissively and that you also likely dodged a bullet.
If she didn't think she could help you--like if she's more skilled in other areas, like anxiety--then she should have simply told you that AND given you a few referrals. I do think it would have been wrong for her to take you on if she didn't think she could help. It may not be that she doesn't want clients who aren't "easy." For example, I asked a former therapist, out of curiosity, if he ever turned away clients. He said that if one came to him whose primary concern was an eating disorder, he'd refer them out because he doesn't have expertise in that area. Which I think is the responsible thing to do.
I wish at times my current therapist had told me from the beginning that he wasn't skilled in dealing with transference and client attachment (he knew about this from the start because I was consulting with him due to an experience with a previous therapist), It would have saved me a lot of distress if I'd just switched to someone else right away. We've worked our way through it, but it's been a very bumpy, painful road at times.
I hope you can find someone who can help.