The reason you're having trouble is that you're getting older. As you age, you get increasingly less tolerant of other people's bullshit. Human nature.
So, just be patient. Give it some time and you'll start to realize that not having friends is a good thing because it means less bullshit in your life.