In fairness, you really should have a good reason for leaving a company like Google. The pluses of working there are substantial. If you're leaving lightly, you are almost certainly making a mistake.
Considering compensation definitely drops in your 4th/5th year (because your on hire grant is fully vested and it doesn't get refreshed properly), you're almost certainly a sucker if stay longer than that rather than leave for a little while and then go back.
Thats the false narrative being debated here.
When you completely paid all your debts and solved financial problems (not just nowadays, but future too), you start thinking some different way.