Two people must have positive traits in common to bond but dissimilar negative traits so that they may learn from each other.
It's what you're gut feeling tells you when you first meet someone. If you get a real warm positive vibe off them when introducing yourselves to each other, that is probably the first initial connection, followed by conversation and then you realise you have an understanding and agree on many subjects. Sadly it doesn't happen that often.