Best resources to understand the history of mathematics?

I was trying to think of the future of mathematics. For that I thought why don't look at the past and see what we have achieved from their perspective to determine what we can achieve and how our perspective can shift. I assume that mathematics would be developed faster now because of higher population, more education, internet, advanced computer, AI. In any case mathematics was discovered and lost for much of antiquity. people used to do basic arithmetics mostly for mathematics and not even a millennia ago people used to be uncomfortable over negatives. In the 16th century, in the 17th century the speed of mathematics took root and we had calculus, advanced number theory and so many things. complex numbers were hard to grasp. Then in the 19th century we had quaternions, vectors, significant leap in abstract algebra, complex and real analysis. 20th century was a big jump in mathematics. I have read about lifes of mathematicians. No book I have captures it precisely well and read to the development.

Author: Concern-Excellent