Your class is more related to your self-esteem than your income.
In one of the companies I worked for as a contractor, I had my own office and it felt great.
When I was younger, I briefly worked in a telemarketing call center for the equivalent of $20K per year. Then many years later (after I finished uni), I was earning $200K per year in a different company (as a software engineer in an open workspace).
The $200K workplace didn't boost my self-esteem much more than than the $20k workplace.