I'm speaking anecdotally, and there are many ways my sample may be biased. (Also, maybe bad PhD devs make sure everyone knows they have PhDs, while competent devs never mention it?).
OTOH, there could be something in culture and personality that pushes lesser devs into getting PhDs.