I Don’t Like What God Did

How do we look at things when God does things we don’t like. We encounter stories in the bible when we see God act strongly, so how do we reconcile a compassionate and loving God with times when we see him pour out his wrath?