anxiety doesn't let me go to church

everytime i say i'm going to church and when the time comes i panic and say next time then when next time comes i panic again, i feel so bad because my friend really wants me to go and i have so much anxiety that i get scared to go to events where they'll be a lot of people, am i a bad person because i'm not going when i know i have time to go?