This is correct. When I was a Ph.D student I was told that it was very rare for someone to fail their thesis defense, because their advisor will not let them defend until they know they are going to pass. It does happen, but it takes a special kind of effort and means your advisor screwed up.