Allah's Apostle said,
"The example of a believer is that of a fresh tender plant; from whatever direction the wind comes, it bends it, but when the wind becomes quiet, it becomes straight again.
Similarly, a believer is afflicted with calamities (but he remains patient till Allah removes his difficulties).
And an impious wicked person is like a pine tree which keeps hard and straight till Allah cuts (breaks) it down when He wishes."
(Translation of Sahih Bukhari Volume 7, Book of Patient)