I don't think Labour is going to have problems winning the next general election because of cost of living, etc., They do want to shake off the anti-Semitic image but they also know along with that image came the taint of sympathising with jihadism. For a lot of voters this isn't just going to be about the Middle East but is going to be about national security, law and order and liberal democratic values. If a bomb goes off on the tube or another MP is murdered, Labour doesn't want to be seen as the party that stood with the people cosplaying as Hamas.