This is not true any more. The vaccine has been shown to lower cancer risk for those who already carry the virus, so it is recommended even for people who are HPV positive
So, unless you are a sex worker or similar, it's unlikely you "have" all of them to the point where the vaccine is completely useless. You might later get infected with a strain that you didn't yet have, and it's precisely the one that kills you.