Should I give up on a math major?

One B in one math course should not be cause to panic and immediately abandon the idea of majoring in math.

There are probably some students whose best grade is a B who need to choose a major.