In general, the correct number of bins to use is case-by-case.
Too few bins can mask patterns within the distribution, and too many bins can make the distribution noisy and create gaps in the spread. Both scenarios make it equally hard to glean insights.
Thankfully, there are several rules of thumb to help us figure out that goldilocks number of bins. I’ll only discuss the following: Square Root Rule, Sturges’ Rule, and Freedman-Diaconis Rule.