You are aware that Zee posted Genesis 6 that “Noah walked with God”?
There were many in the Old Testament who were approved of God because of their personal righteousness, probably the best example being Job:
Job 1:
8 And the Lord said unto Satan, Hast thou considered my servant Job, that there is none like him in the earth, a perfect and an upright man, one that feareth God, and escheweth evil?
9 Then Satan answered the Lord, and said, Doth Job fear God for nought?
10 Hast not thou made an hedge about him, and about his house, and about all that he hath on every side? thou hast blessed the work of his hands, and his substance is increased in the land.
11 But put forth thine hand now, and touch all that he hath, and he will curse thee to thy face.
12 And the Lord said unto Satan, Behold, all that he hath is in thy power; only upon himself put not forth thine hand. So Satan went forth from the presence of the Lord.
Job 2:
3 And the Lord said unto Satan, Hast thou considered my servant Job, that there is none like him in the earth, a perfect and an upright man, one that feareth God, and escheweth evil? and still he holdeth fast his integrity, although thou movedst me against him, to destroy him without cause.
4 And Satan answered the Lord, and said, Skin for skin, yea, all that a man hath will he give for his life.
5 But put forth thine hand now, and touch his bone and his flesh, and he will curse thee to thy face.
6 And the Lord said unto Satan, Behold, he is in thine hand; but save his life.
7 So went Satan forth from the presence of the Lord, and smote Job with sore boils from the sole of his foot unto his crown.
Job 42:
7 And it was so, that after the Lord had spoken these words unto Job, the Lord said to Eliphaz the Temanite, My wrath is kindled against thee, and against thy two friends: for ye have not spoken of me the thing that is right, as my servant Job hath.
8 Therefore take unto you now seven bullocks and seven rams, and go to my servant Job, and offer up for yourselves a burnt offering; and my servant Job shall pray for you: for him will I accept: lest I deal with you after your folly, in that ye have not spoken of me the thing which is right, like my servant Job.
So it looks like Job’s personal righteousness had something to do with his salvation.