Not for you. Using weed long-term and then suddenly stopping can cause depression and anxiety. So if you have anxiety already you shouldn't "treat" your anxiety with weed.
It's better for body than xan tho. [more addictive, high risk of depression after cutting off] Depends on your anxiety level, but that's a thing for a doctor to decide.