A lot of things that may be sound career advice in SF tech scene would make terrible advice for other fields and other places. One example is frequent job hops. SF software companies may not judge you negatively because of it, but Zurich architecture firms (as a random example) might.
Depends on what you mean by frequent. At a SF software company, and I look at multiple 6-9 month stints as very big red flags that must have overwhelming evidence in the other direction to be considered. OTOH 2 - 3 years is perfectly fine; I can maybe imagine “Zurich architecture firms” viewing 2-3 years as flighty, if they are used to employees that used to be there decades.