the thing is that you attract behavior you deem yourself as worthy of receiving. if you have a low self esteem and talk down on yourself, you'll accept that same behavior of someone else. unless you get higher standards and deem yourself as worthy of respect and healthy boundaries, it'll be and stay very easy for people to be toxic and cross them.