Why people seek validation from people who were damaging to them?

For example if you're seeking validation from your old and toxic friend group or a failed relationship etc

Why people seek validation from people who were damaging to them?
Post Opinion