Help is it worth taking this class again over the summer...?

Hello I’m currently a junior with a 3.9127 UW GPA (4.24 W) and I am seriously considering retaking a semester of Precalc over online summer school due to getting a B in the class during 2nd semester sophomore year. Some of you may be wondering why on earth I would retake a class over a B and some of you will be able to relate. For those that need more context: my class (2018) happens to be pretty competitive when it comes to grades, GPAs, the amount of APs you’re taking, standardized test scores, etc. I know at least 10 people who STILL have there 4.0s UW in junior year and have taken as much Honors and AP classes possible. There are 8 people who have earned a composite score of 36 on the ACT, and everyone seems to be scoring in high 1400s-1500s in terms of the new SAT. Many of these people happen to be my friends, so I get stressed out a lot over feeling so inferior (on paper at least) to them all the time.

I consider myself a pretty competitive person, but obviously my grades don’t exactly show that. I have several A minuses and a big fat B weighing my GPA down. I’m up to par with my peers in other aspects other than my grades. I want to get into a top 20 school, but my grades make it seem unlikely.
Taking summer school is a pretty normal thing here- not because you failed, but because you want to get ahead. I’ve taken a couple courses over the summer before, and I am planning on taking Civics over online summer school this year. My parents are in full support

TLDR: I’m trying to heal my big ego because everyone else seems to be better than me. I want to get into a prestigious school but a big fat B is really weighing my GPA down.

If you want to take the class, I can’t stop you because I know how it feels, but one B is not going to be the reason you get rejected from a top 20 school. Your time would be better spent perusing extracurriculars that add to your application.

If you have nothing better to do, then yea sure.

But your summer would probably be better used trying to beef up your EC’s.

A tiny point on your GPA matters a lot less compared to EC’s, experience, and other factors to the colleges. If you are a junior, extra time on your essays wouldn’t hurt either.

Just take the B. If you get an A in calculus the B won’t even matter.