Most educational institutions do not have a history of the mathematics course. Not that a course of history in mathematics is necessary for all students. One of the big issues with the way mathematics is taught is that the context is virtually left out. Instead, students are taught in a logical progression with definitions, statements of theorems and their proofs. There is a good reason for that, but it hides the purpose and applications of this math to the end. The reasons for her study are often omitted. Some will say that math itself is not enough.
Perhaps, a history course in mathematics gives students a certain context for mathematics. It took decades to form the concepts we consider, such as line, function, and infinity, have changed over time. A course in the history of mathematics will show students that mathematics was not the same in all civilizations, usually it grew, but sometimes it fell, that different cultures on earth learned it from other cultures, and that our current international mathematics is relatively new. In general, learning mathematics in a historical context takes longer and is more difficult than learning it without this context. Simplifies over time.