Smaller countries can defeat much bigger ones. Vietnam and Afghanistan for example, but they have to play to their strengths, and it takes time.
I believe Ukraine needs drones and long-range missiles. Millions of them.
If Russia keeps invading, Ukraine launches 10,000+ long range drones every night until there's nothing left of Russia's economy.