You tend to make friends with people who have things in common with you, and you tend to date people you're attracted to.
Aside from the obvious strain it will put on your friendship, whatever didn't work out between them, is probably going to end up being the same for you.