Typically working for a city, state or federal government, you earn less than the going salary, but the benefits are better with more security.
For example, with a municipality, you'd probably get a PENSION, not a 401k. Not many places give pensions anymore, as I'm sure you know. So, if you can deal with less money up front, that's an attractive deal.
Also, you usually get more vacation and sick leave (great if you have kids or like to vacation) and are rarely laid off or downsized (typically done through retirements) and may even be in a union, if that matters.
Many people want a higher salary NOW, and don't consider the future. If you are disciplined financially, maybe a higher salary is better for you.
Is the city offering you an equal salary, higher or lower than you currently make??