kindred spirited

adj.

The condition of a drinker who has mistaken shared appreciation of bitter for spiritual kinship.

Chamiyah became kindred spirited with a stranger who preferred the same bitter.

Source: Wiktionary