I hate to be that guy, and I'm going to sound like an ass, but this is 100% his doing. Software worker in Palo Alto for 30 years making as much as 150k has no excuse. Save some money stupid. Also, when you get fired and can't find another job, perhaps you should move out of your $2150 a month rental. That's enough for 4-5 months or more in other places. $1700 a month SS isn't much, but it's enough to not be homeless…
There are tons of LTVA (Long term visitor areas) in southern CA and AZ that he can spend months in his RV for under $200.