Romans 7:22 : For I delight in the law of God after the inward man. There is an inward man and an outward man. The inner man is the seat of the mind and will. Even the inner man of the sinner is pleased with the law of God, though he does not practice it. If there were nothing good in an unconverted man, the good that is in God's law would not appeal to him. Beauty does not appeal to him who has no eye for the beautiful; music does not appeal to him who has no ear for music and the goodness in the gospel would have no attraction to him who is "opposite to all good and wholly inclined to all evil." People who reach that, stage of depravity are utterly beyond the hope of redemption.
Such were the people before the flood, and such were the people of Sodom and Gomorrah. To be totally depraved means to be totally lost now and in the world to come.