I generally agree if there’s a material $$$ difference. If they are in the same ballpark, other considerations take higher priority.
For example, would I leave where I live (Austin, Tx), uproot my family, leave my social network, etc for NYC for a 30% raise - no. Would I leave for a 70% raise...