The Bible teaches to look to the future. The Old Testament looks for the Messiah. The New Testament tells us to look to the future.
At a more specfic level, Israelites fleeing Egypt made a mistake when they looked back to Egypt. Lot’s wife made a mistake when she looked back to the party life she used to live in sin city.
The Bible also tells us to look to the past to prepare for the future God is bringing. I never mean looking back as Lot’s wife did towards Sodom, but following the advice of 1 Corinthians 10:11.