My friend's girlfriend suddenly broke up with him. He then suddenly wants to hang out with me after they broke up. This happened with multiple friends.

They barely call me or contact me when they still were with their girlfriend. But the moment they break up with their girlfriend, then they suddenly contact me everyday. They want to hang out, go to places, talk about stuff, etc...

They tell me that I should try having a girlfriend too, and that she will make me 'happier', while they themselves are miserable, and think they need a girlfriend to fight the loneliness and supposedly be happy. They tell me that they fear that I might up being a lonely old man without anyone to share my life with.They are good friends, besides the girlfriend stuff. But I have the impression that they are only using me as a back-up, once their relationship goes south. I'm thinking about cutting contact, and ignore them when they come to me after they brake up. I don't like to be used as an alternative option by my friends.

I warned them multiple times about the dangers of getting into relationships. But they just 'wanted to at least see if it might work' and not give up the hope, and have a defeatest mentality. Did you guys have any experience with this? Let me know your stories down in the comments.