As Granny Peach says, the freezing frost of winter, the blasting thunder of spring, and the scorching sun of summer are all needed for peach trees to produce the best peaches. Likewise, trying moments of/in life are needed for each one of us to enjoy happiness.
I wonder if "trying moments of life" and "trying moments in life" both work in the above context. If yes, are there subtle differences? Thanks.