I guess it depends on what's important. I switched jobs for similar salaries but much preferred the job itself, even though i lost my health insurance. One of the main benefits for me was reduced travel time though, whereas sounds like you're going the other way.
I think the worst part was the fact that i wasn't entitled to an inflationary raise due to the timing of starting in June and the salary reviews being done in March. However with inflation being what it was, i imagine i'd be on a decent amount more had i stayed at the last job!
Something i'm going to bring up in a little while i think when back from holidays, as my boss mentioned keeping an eye on cost of living increases and if anything it's continued to increase with BOE rates rising and the expected October utility increase.
Still don't regret having switched though.