... although to be fair, Job 38 is one of the most epic parts of the Bible, hands down. When YHWH goes in, He goes in.
Also God hardening Pharoah's heart when he already wanted to let the Israelites go, in order to complete the plagues and flex on Egypt and its gods. Said plagues ended, remember, with the first Passover event and the murder of every firstborn child and animal in Egypt.
And Sodom and Gomorrah, particularly the part where God and Abraham haggle over the lower bound of righteous people it takes to avoid genocide. This is apparently at least ten.
... speaking of which, that time God commands Ezekiel to lie on his side and eat bread baked over human shit for over a year. Ezekiel objects, because the latter would be against God's own law (while the former is just sadistic torture,) and God says fine, he can use cow shit instead, just get on with it.
And the Tower of Babel. God sees that humanity united and speaking a single language is capable of anything as they try to build a tower that reaches the heavens, so He curses humanity with multiple languages to confuse them and impede human progress. This was a particular dick move on God's part, and we're probably lucky Heaven was moved somewhere less easily accessible before we learned how to build skyscrapers or go into space.
And Jesus cursing a fig tree for not bearing fruit out of season. Not as much death and suffering as in the other cases but still petty AF for a guy who can literally create food from nothing.