Not often.
You only need to be able to identify the conditions where you have (or do not have) an advantage and act accordingly.
Granted, the odds are poor for older workers. Guess what! The odds are pretty bad for the 20-somethings and 30-somethings too. But there are always exceptions. Recognizing those exceptions is the key to making money.
Or as Kenny Rodgers says:
You’ve got to know when to hold ‘em.
Know when to fold ‘em.
Know when to walk away.
Know when to run.
Best of luck in your next gig.