This gets repeated a lot online but statistics don’t really support it. They will lose some number of employees but the significant majority of people just go along with RTO policies.
All of the headlines claiming employees will quit if their companies mandate RTO are based on self-reported surveys where people are asked hypothetical questions. When reality hits and people are forced to choose between their large FAANG comp or quitting, it turns out barely anyone quits.