In those cases Russia's population was significantly higher than the invading country's. The reason I suggested Ukraine should surrender is because it has a significantly lower population than the invader and therefore very low chances of defeating it.
And if it was just a pure war of personnel attrition you might have a case unless Ukraine could significantly improve the casualty ratio. As I've pointed out repeatedly, though, Ukraine's strategy here is not a war of personnel attrition, it's a war of capital attrition - they're attempting to make the war too expensive for Russia to continue, as that appears to be their best chance of success. China's tacit support for economics over morality, unsurprising as it is, was to be expected, but Trump's abandonment of the post-war US-European alliance has jeapordised that plan. It's not proven useless, yet, but it does mean that the war drags on.
The underlying difference between the Ukrainian leadership's position and your own, however, seems to be that you're taking a short-sightedly utilitarian approach - your entire judgement is based on how many people might die in the immediate and direct conflict. You make no assessment of the quality of life for an occupied territory, no assessment of the self-respect or independence of a sovereign nation and its people, and no assessment of the moral justification the Ukrainian people might feel. The continued high levels of support for President Zelensky suggests that the Ukrainian people - like me, and a few others on here - are including a broader range of longer term considerations than that.
As a non-Ukrainian, for me it's about deterrent - Ukraine is probably, at the moment, not bothered if Russia goes on to invade someone else next, emboldened by the continued rewards they get for their aggressive expansionism and imperialist activities, but along with the rest of Europe I am worried about that. Someone has to draw a line for Putin and actually enforce it, and it seems as though - with Trump showing how dependent we were on a US that can no longer be entirely relied upon - some of the European powers are starting to come around to that understanding.
O.