Cosby admitted to rape (though it was wrong to use that as they said they wouldn’t).
If you’re talking about the civil suit testimony, he did not admit to rape. Go back and watch the video again. He admitted to giving women drugs. It was played up in the media as an admission to rape, but admitting to giving women drugs and admitting to raping women are not actually the same thing.