I guess I fail to see the difference between God destroying Sodom in the Old Testament for their wickedness, telling Abraham he would spare the city if he could find even ten righteous men in it, and then Jesus claiming to be God in the New Testament (John 8) and saying that soon, Capernaum will be judged and face a fate even worse than Sodom because Sodom was morally better than Capernaum.
Yahweh was literally flattening cities, killing Egyptians with plague, destroying Cannanties by force, requiring his followers to sacrifice their children (!).
None of the 'hard advice' given by Jesus in the examples are remotely equivalent to this, nor do they paint a picture of an angry or despotic figure at all.
Jesus is laying Moral Judgment. That's not the same thing we see in the Old Testament.