can swimming after sex kill the sperm?

this is gonna make me sound real stupid but please don’t make fun of me, i’m serious. i had unprotected sex and he accidentally came inside of me, and after he suggested we go swimming cause he said maybe it’d wash out the cum and i wouldn’t get pregnant... i didn’t think it was true but it kinda makes sense? is that true?