“If you don’t like something change it. If you can’t change it, change your attitude”

What is the meaning of this quote? Do you agree?