ok..so whose been mean to you that you equate God as being mean? Perhaps?
How you’re framing this question reminds me of a child wondering why his parents discipline him or withholds something he wants which is harmful to him, or not yet ready to handle. Children can think their parents are mean as you know.
Actually all and everything you see that’s good, right, lovely, kind, compassionate, caring, and the list goes on.. comes directly from and is God to an undeserving world.
It is mankind who brings much harm, hurt, and meanness by the decisions and choices he makes.
Maybe you should clarify what you mean as mean?
maybe you should once again read the entire article to see that the article points out that God is NOT mean.
read it slowly and completely before responding.