To add to what Tommy said, that's why WikiTree has a Connection Finder and a separate Relationship Finder.
Yes, you are connected to your great-grandfather's first wife (because of the relationship he has to her). But you are not related to your great-grandfather's first wife. There is a difference between how we use those two words here on WikiTree.