WFH, more money, longer contract, and this is a problem how?

As my brother, a Director of IT Infrastructure for a very large corporation, once advised, "They have no love for you so have no love for them. It's just business."

And it's true. You owe nothing to company 1. If company 2 is better for you, do it.