I like these two books:

Mathematics and Its History By John Stillwell (https://www.amazon.com.br/Mathematics-Its-History-John-Stillwell/dp/144196052X/ref=asc_df_144196052X/?tag=googleshopp00-20&linkCode=df0&hvadid=379693248429&hvpos=&hvnetw=g&hvrand=5239036777970932506&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9102183&hvtargid=pla-452518738779&psc=1) AND

A History Of Mathematics()https://www.amazon.com.br/History-Mathematics-3rd-Victor-Katz/dp/0321387007 by Katz.

If you read Portuguese this one too:
História da matemática De Tatiana Roque (https://www.amazon.com.br/Hist%C3%B3ria-matem%C3%A1tica-Tatiana-Roque-ebook/dp/B00A2V4OTU).