Partial door, employment depends on your ability. Because it is not very popular! You can use the side door. The combination of mathematics history and mathematics education is very popular in China. If the employment communicates with the employer in this respect, people will be happy to have you. Of course, I mean non-universities, after all, it is difficult for graduate students to enter universities now. In this way, it is better to study the history of mathematics than to study basic mathematics for employment. So I said look at personal ability!
On the other hand, you should also consider the cost of graduate school. You should know your own mathematical thinking and whether you are suitable for learning mathematics. If you want to be partial, don't hesitate to report directly to the history of mathematics!