Can I have an Amen!
Being righteous means to have faith in God, trusting with all your heart, mind and soul that He is who He says He is and will do what He promises. Being righteous means obeying God and knowing you Creator, your Father, will provide for you no matter what, even when it seems strange.
God called Noah to build an ark before there was ever any rain. I can imagine the ridicule he received by other. But he kept God first and obeyed his calling. God provided for Noah, saved him and his family and called him righteous.
However, Noah was not without sin. He became drunk (Genesis 9:21), a story I believe was included for the specific purpose to teach us that no one, even the great men of faith were sinless. However, they were faithful and obedient. They were found righteous in God's eyes.
The same goes for us today. We are not sinless, none of us are, we all make mistakes and fall sort. But God loves us despite our sinful nature. He continues to guide us and protect us, remaining with us always. When we keep our faith in God and remain obedient, God will find us righteous in His eyes.