When you have severe anxiety with panic attacks the chest pain, racing heart and flushing skin you get from the anxiety may make you feel like you're gonna die but you won't die just because of the severe anxiety.
However having severe anxiety can stress your body out enough to where you could die a lot earlier than others who don't have severe anxiety.
But the anxiety itself won't kill you.