You can't learn these from either Gaza or Ukraine. Neither is over. Not even close to an end. Both are longer and the technologically superior side suffered more than expected.
In the case of Ukraine, it is unclear whether you are talking about Russia or the US ?