No, you can also go to war with them. The one side wants Ukraine in NATO, the other not, so there is a conflict. You can now either negotiate some compromise that is acceptable for both sides or you have to fight this out. I personally think that a Ukrainian NATO membership is not worth hundred thousands of dead and wounded, millions of refuges and a destroyed country, but others obviously disagree.
And what about our threats? [...] Why shouldn't Putin have listened to us?
Which threats? Putin already decided that Ukrainian NATO membership is so important that he is willing to go to war over the issue if there is no political solution, he certainly expected sanctions and support from the West.