Biochemist here. No it is not, and that's not epi-101. By letting it rip you're not just maximizing your fatalities, but you're also maximizing the rate at which the thing mutates, which maximizes the probability that your "recovered" pool becomes vulnerable again.
>but you're also maximizing the rate at which the thing mutates
No country is a closed system. We see now that a previous immune response is better than nothing against the Delta variant. I'm wondering what will happen to the island nations that kept the virus at bay while not having a high vaccination rate, won't they have many more deaths now with the more infectious and more deadly version that other countries that "let it rip" like Sweden have at least partial widespread immunity to?