Confucius said this quote

They must often change, who would be constant in happiness or wisdom.