It doesn't. That said, in companies like Google, an eng has a lot of flexibility to choose the team they want to work on - so eventually many people find the thing which they really like. And good money on top of it is the icing on the cake.
Also, I linked money since the parent comment talked about finding interesting ans similar paying role as Google's.
Correct, but you can accept/decline the offer based on team placement. You don't have to accept and then see what your options are.
(For complicated reasons I actually spent about May through July of last summer with an offer open, and talked to 5 or 6 different teams through that process... and at the end of the process when I called to decline, I was told that headcount had shifted for Q3, the team I'd most recently spoken to had lost their open headcount, but there were other teams that had now had open headcount and might be interested in talking.)
Also, I linked money since the parent comment talked about finding interesting ans similar paying role as Google's.