Zoloft is a medication used in treating social anxiety disorder and panic attacks. Therefore it does help with anxiety.

https://recoverypartnernetwork.com/drug/stimulants/sertraline-addiction