Follow the timeline. Lot was considered righteous by both Abraham and God well prior to his incest. If you have a problem with Lot being called innocent and righteous, please take it up Almighty God. This is plain Scripture, and difficult to misunderstand, unless deliberately.
Catholics make a big deal about righteous works as being necessary for salvation.
My question was, what righteous works were recorded in Scripture that Lot did to cause him to be declared righteous.
Sure, he was declared righteous through faith, just as Abraham was. David was praised for being a man after God’s own heart, in spite of his sin.
Which gets back to the righteousness we have through faith is what saves us because the works of those two men surely don’t qualify as good works or righteous works.