Nowadays we know cervical cancer is actually caused by infection. That means if a lady gets infected by the HPV virus, she might get cervical cancer.
Of course, it does not account for all, not 100% of cervical cancer that is caused by HPV but at least 96-98% is caused by this virus.