Romans 12:15 (NIV)

Rejoice with those who rejoice; mourn with those who mourn.