Many old books are available freely :
(Gutenberg)
Smith(1906) 'History of Modern Mathematics'
Rouse Ball(1908) 'A Short Account of the History of Mathematics'
(archive.org)
Struik(1948) 'A concise history of mathematics'
Bell(1937) 'Men Of Mathematics'
and so on... Excellent reading!