Google just laid off 12k people. Meanwhile, Alphabet had 116 billion USD "cash on hand" at the end of September 2022 with net income for that quarter being almost 14 billion, and nearly 67 billion for the year.

Even if the cost of each employee was 500K per year, that's "only" 6 billion dollars to keep those "great" people that they "love" working with around.

It's pretty clear that Google can in fact afford to keep "great" people that they "love" working with employed.
blog.google/inside-google/mess