This post isn't wrong, but it also isn't correct.
You see, a victim needs a bully, a bully needs a victim, and so you find them near each other.
In order to get rid of toxic people in your life, it is you that has to change. You have to see what inside you is getting a pay-off from engaging with toxic people. After you find this in yourself, you need to work to clear it.
You will know that you are done clearing, when the toxic people just vanish.
However, it is one step in the healing process to recognize toxic people and recognize the negative impact they are having on your life.
And you cannot help a toxic person by "showing them" the error of their ways. It just doesn't work. Especially if you are not working on clearing that part of you that is getting the pay-off from being there with them. Until you are clear, you are actually holding that person in that state.
I know this is a pain in the ass way of looking at this, but if you seriously want to make your life better, you have to take ownership of what you are attracting into your life.
When dealing with this, remember, no blame, no shame. You are here, that is a fact, start fixing it. If you do not want to be here, then slowly plot a course out.
That can be the case sometimes, but it is also possible to encounter toxic people in the family for example, in which it is not the person looking for this type of people without realizing it, but rather randomly encountering them.
Agree, as I said to @joanstewart above, cutting out contact is what most people should do when dealing with toxic individuals.