Will I get taxed in this scenario?

I’ve been holding a bunch of stocks across various ticker symbols for over a year. Some went up while others went down , but if I sell them all now I’d take a 21% loss (14.2k).

If I sell everything now, how are taxes applied? Will I get taxed based on the overall loss (e.g. I have no pay nothing) or will I have potentially have to pay some tax because some ticker symbols went up?