That is mostly true for reputable programs. But there are a lot of unreputable Ph.D. programs. They may even graduate the bulk of PhDs.
And even some reputable programs will let some people "buy their way" if they don't qualify as for a fellowship/funding.