Companies aren't paying you for the duration of the non-compete, they only pay you when you are working there. If a company really wants non-competes to prevent you from working for a competitor, they could afford to pay for that. Instead companies are using non-competes as a form of control, to coerce workers into keeping working for that company.