That isn't how the UN works anyway, especially the ICC which charges individuals.
> Or nothing changes and Hamas continues raping and killing?
With regards to the ICC, there would be international arrest warrants for Hamas leaders and there would be incredibly pressure on a lot of countries to arrest them if they were present in their countries or transiting through them.
https://en.wikipedia.org/wiki/List_of_people_indicted_in_the...
> Everyone always says there is another way but not a single person has actually presented one that stops Hamas.
You do realize that Netanyahu, and other radicals in the Israeli government, has actually long purposely boosted Hamas by allowing financial transfers and has purposely hurt the Palestinian moderates? Netanyahu viewed supporting Hamas as a way to prevent a 2 state solution:
https://www.timesofisrael.com/for-years-netanyahu-propped-up...
https://www.nytimes.com/2023/12/10/world/middleeast/israel-q...
https://www.thenation.com/article/world/why-netanyahu-bolste...
https://theintercept.com/2023/10/14/hamas-israel-palestinian...
“The Palestinian Authority is a burden, and Hamas is an asset.”
So yeah, there is a clear solution here towards a 2-state solution where both Israeli and Palestinians have freedom and safety and self-determination. Providing hope is the best way to stop the growth of radical organizations.
> you can call the military and they will bomb and kill the terrorists but 20 civilians will die.
Even President Biden said that Israel's bombing was indiscriminate. Almost half of the bombs dropped where dumb bombs, that is not targeted at all: https://www.cnn.com/2023/12/13/politics/intelligence-assessm...