Lamentations 3:32 NKJV

32 Though He causes grief, Yet He will show compassion According to the multitude of His mercies.