How do you say "God closes the door and opens the window"? And its origin, which celebrity said it? thank you

God closed a door for you and opened a window for you at the same time.

This sentence comes from the Bible.

The Bible is inspired by God and is a classic of Judaism and Christianity. Originally in Hebrew, kethubhim originally meant "article" and later "classic"; Greek Graphai, Latin Scripturoe, Chinese translation Jing.

The influence of the Old Testament on later literature;

On the one hand, it is ideological, as seen in the Old Testament; on the other hand, it is expressed in literature, as seen in the Psalms. The descriptions of characters' psychology and social phenomena in later literary works are all metaphors and hints from the Bible.

Influence on poetry and drama in European and American literature;

Dante's Divine Comedy, Goethe's Faust, Milton's Paradise Lost and paradise regained, these world-famous poems all draw themes and themes from the Bible, and there are biblical characters and allusions everywhere between the lines.

The translated literature and style of the Bible undoubtedly influenced China's vernacular literature or national literature.

References:

Baidu Encyclopedia-Bible