What does it mean to beautify the rain into a rainbow?

In a good mood.

Describe the process and result of a thing very smoothly, without any obstacles, just like God is helping you fulfill this good thing. At this time, the mood is very happy and the weather is very good. After the rain, a rainbow appeared.

It is a metaphor to turn the weather into beauty and the rain into a rainbow.