It was wrong, and yes would likely be seen as genocidal in the current day, rightly so. You can't just randomly kill innocent civilians, no matter what. It didn't even meaningfully accelerate the end of the war.
It's cheap and easy to pretend to be morally superior when you're not the one forced to make hard choices based on limited information, and then deal with the consequences.