But Noah found grace in the eyes of the Lord… . Noah was a just man, perfect in his generations. Noah walked with God.
Genesis 6:8–9
No matter how ungodly the environment you may be in, God will always find you and walk with you. Noah lived in perhaps the most wicked age in history. No one worshiped God. All the people worshiped idols and pursued their own sinful pleasures. Noah’s neighbors were evil; every person he associated with in the marketplace, or along the street, or in public gatherings, ridiculed the very thought of being faithful to God. Every temptation imaginable was abundantly available to Noah.

