And Lot's righteous deeds were?
Genesis 18 and 19 hints at them. For me, it is enough that God says to Abraham that he will not destroy Sodom and Gemorrah for the sake of 10 innocent men. Abraham in chapter 19 selects Lot; Peter labels him righteous, Abraham chose him as innocent. Apparently there were not enough to make up 10.
But Lot was righteous, as God directed him to flee so that he would not be destroyed. Good enough for me. Is it good enough for you?