I don't think it says that anywhere. Please cite if you can find it. Not that I think you are wrong that He was looking for repentance, and if ten (probably only 6, since Lot and family counted for 4) had repented, God would have stayed the calamity, according to His promise to Abraham.
I'm not...