Confucius said this quote

When anger rises, think of the consequences.