How does God love everyone, yet still destroys others?

how do you resolve the two passages of God being “good to all” (PSA 145:9) but “destroys the wicked” (JER 13:14 )

I had a friend ask and I’m not really sure how to respond in this situation. I thought maybe it would be out of context, but doesn’t really look like it.

What is not good about destroying the wicked?

Punishing people for their crimes recognizes them as a moral agent with free will who is responsible for his actions. To punish a person for his crimes is to recognize him as a human being. Goodness itself demands justice as well as mercy.

DISCLAIMER: The views and opinions expressed in these forums do not necessarily reflect those of Catholic Answers. For official apologetics resources please visit www.catholic.com.