Work serves many purposes. One of the purposes - money as a result of skills and services performed - cannot be overstated or ignored. Our families depend on it.
Despite the closed doors, keep moving forward.
Despite gray hair, you have value to the workplace and society. It may be time for plan B.