SpaceX has been quite lucky so far. They did have a bunch of failures with the little rocket. "We were just babies" properly said Gwynne Shotwell, COO of SpaceX.
Even having 2 launch failures for all Falcon 9 successes, nobody killed is still quite lucky in my view vs how many launches they already accomplished. Only ULA did better, and one should argue that ULA wasn't really a new company, but rather a merge of a good chunk of Boeing/LockMart space divisions when they were formed.
Space is hard. Given how fast SpaceX is advancing the economics and performance of Falcon 9 and Dragon, its still quite an accomplishment so far.
Rockets must be quite fragile in order to get to space at all. There's no way around it until we discover new laws of physics that allow for launches that need much less fuel.
Hopefully they will now have a 20 picture perfect launch stride.