The ICJ has not said Israel's response is a genocide - not in Lebanon, which is what this thread is about, nor in Gaza.
“…the court decided that the Palestinians had a plausible right to be protected from genocide and that South Africa had the right to present that claim… it did not decide — and this is something where I’m correcting what’s often said in the media — it didn’t decide that the claim of genocide was plausible.” - ICJ head President Donoghue