Being content doesn’t contradict with the fact that we must do our best and try to change the calamity or to remove the hardship.
Yes, it is written.