Understand That You Can’t Change People
Although people can change, nobody else can change them. You may make an attempt to teach and help others around you, but in the end, it is up to them whether or not they want to change. And it's likely that change won't happen until they get over whatever it is that's making them negative.
Do your best to be the best version of yourself and let go of any commitment to the bad ones. You owe them nothing, and most of the time, they don't appear to want it either. Concentrate on who you are and the positive people in your life. “You can’t change the people around you, but you can change the people around you". Just be kind, and the rest will follow.