God closed a door for you and opened a window for you. Who said that?

This sentence is from the bible, but it is not the original sentence.

The Bible says, "When God closes this door, he will open another door for you."

Extended data:

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 Bible is a religious classic of Jews and Europeans. It tells the history of Jews and Yahweh in ancient times and records the prophecies of prophets. When a large number of Jewish classics are translated into Greek, the Greek tabilia (plural, meaning "books") is used to refer to these classics; Latin comes from the singular word Biblia, which later became the proper name of the official classics of Judaism and Christianity, and translated into Chinese is the "Bible".

In the Bible, historical materials occupy a large space and record the origin and development of Judaism and Christianity. The history of Hebrews includes: how God chose Abraham and his descendants, how Abraham's descendants were enslaved in Egypt, how Moses led them out of Egypt, how Hebrews established their country in Canaan, how David and his family ascended the throne of Jerusalem, how Israel in the north was destroyed, and how Jews in the south returned to Jerusalem from their prisons to rebuild the temple and restore their religious life. Christianity accepts the above history as the sacred history of their ancestors. In the 2nd century, the birth, preaching, suffering and resurrection of Jesus Christ and the development of the early church were added. Judaism and Christianity believe that these events happened under the direct arrangement of God.

Reference link: Baidu Encyclopedia-Bible