Buddy, you were close to making a good point, but this is not a tactful way to say what you're trying to say. This is victim blaming.
We should teach boys not to be rapists.
Teaching girls how to spot a rapist is not a bad thing either, as long as teaching boys not to be rapists is still the priority.
But women who date rapist men are not "part of the problem", they are often the victims of rape. They are the victims, and you are directing blame at them. Fuck off with that toxic shit.