What in the world do you mean that you can only be a professor if you major in history??
First of all, odds are you can’t even be a professor with it—the academic job market in history is widely regarded to be the worst part of the whole bit of dismal that is the academic job market in general.
Second of all, very rarely do humanities (and even most social science) majors lead to jobs that have the name of the major in the job title. There are exceptions, of course (e.g., technical writing programs do produce a lot of technical writers), but the whole concept underlying the liberal arts, and particularly the humanities side of the liberal arts, is that it trains you not for a specific single job path (which time and technology may turn useless), but rather that it teaches you how to learn, which can allow you to step into a wide variety of jobs (and thus avoid your degree training becoming obsolescent). So if you love history, then do history. No, you (probably) won’t become a historian by job title, but you’ll have a pretty wide variety of things you can do anyway.
All that said, though, please don’t avoid math entirely. At least take some stats. Seriously, it’ll be helpful just in terms of general life skills.