Which is what is banned in California. If someone wants an enforceable non-compete, they need to pay them (fairly and explicitly) for the time they’re not allowed to compete.
They can say anything, but the behavior has gotten enough voter anger to make politicians view this as something to regulate, so their opinion on the matter is quickly going to lose any weight