The exploding rockets were all test launches. SpaceX is pretty good at launching rockets successfully:
> Rockets from the Falcon 9 family have a success rate of 99.57% and have been launched 703 times over 16 years, resulting in 700 full successes, two in-flight failures [...], one pre-flight failure [...], and one partial failure [...]. The active version of the rocket, the Falcon 9 Block 5, has flown 633 times successfully and failed once [...], resulting in a 99.84% success rate.
Source: https://en.wikipedia.org/wiki/List_of_Falcon_9_and_Falcon_He...