Whether or not galaxies merge depends on how strong the gravitational attraction is between the galaxies and whether the universe's expansion is more powerful than gravity. Gravity affects everything ...
Relax, it’s only happening in theoretical physics—at least for now.