How can I make friends

Hello coaches

Lately I have realized I can’t make friends easily. I haven’t had difficulty making friends in my life but these days I can get too judgmental about other people. I have thoughts like – our bandwidths will not match , I don’t enjoy this company etc. I’m waiting to meet people whom I can have good time but that hasn’t happened yet. I am not able to get rid of these thoughts and this is affecting my social circle. I avoid going with people whom I don’t have good time. How do I go about developing thoughts that will serve me and help me develop better relationships.