Non-compete doesn't actually do anything useful for businesses, otherwise they would have happily pay workers for the privilege of not working for their competitors.
Since that basically happen approximately never, noncompete agreements without pay should be illegal.