Normally in vagina there are many bacteria which produce acid, making the environment inside acidic and hostile for pathogens. Therefore this acidity affects the Sperms too. The female body treats Sperms as pathogens trying to enter and infect, therefore first defence is killing them. I hope you get the logic.
That is why Bartholin gland is required.