Rationally you can agree it is a purely transactional state. Working hours for compensation. Emotionally in tech many love the work itself, or the nerdy glamour of the industry, or the inherent intelectual bravadory and oneupmanship, and so are ripe for exploitation.
HR will draw you in, infecting your social life with company perks, values and "we are a family" messaging only to turn all process when it comes to an end.
But as the systemics are clear, each new generation will get drawn in. And tbh, often it can still be a good deal.