Well, sure, but "get to" is doing a lot of work in that sentence. It's just wealth. Your complaint isn't about the "gig", it's about the wealth. People can hold wealth in any of a zillion ways, most of which are invisible (c.f. Vanguard accounts, BTC, yada yada). Don't be upset with your landlord just because you can see their assets.
I mean to be really, truly Marxist about it, it's not the occupation of landlord but the rentier social relation that's problematic.
The theory is it extracts productive capital which could have a better multiplier effect allocated elsewhere such as education, research, public infrastructure, etc.
I'm sure there's some economic wonks that have long academic papers on this to support or refute this 170 or so year old idea, but I'm merely an amateur.
There was an economic movement after Henry George that very adamantly advocated for redoing this social relationship if you're curious. It was (most likely) the inspiration for the original version of Monopoly among other things. It might be regarded as a form of Economic Populism if you look at the adjacent beliefs of the prominent early 20th c. Georgists, but that'd probably be a 5,000+ word article.