Money in a 401(k) is tax-advantaged, so it counts for more than an equal amount in salary.
In addition to match, other factors that matter a lot (but are harder to find out up front) include what funds are available and if after-tax contributions are allowed. Having access to low-cost funds is a huge plus, and after-tax contributions allow for the mega-backdoor Roth 401(k) strategy.