What the title should read is "couldn't afford a lifestyle I felt was befitting someone making six figures in the bay area"
"a niceish $40,000 car," ish. High on the list of signs that you've bought far too much into lifestyle inflation is thinking that a car costing 70% of the US median household income is only "nice-ish."
I have a cushy tech-job yet still drive the hatchback I bought fifteen years ago for $2000. Choices...