You make several good points that Ukraine might pose a threat to Russia over the course of the next couple of decades - but those are economic and political threats, not military. He might have gotten everything he wanted if he'd stopped just short of invasion, using the military preparations outside Ukraine as a negotiating tactic.