In our solar system, most but not all of the planets spin about their axes in the same direction. All of the planets go around the sun in the same direction. However there are some asteroids that orbit perpendicular to the plane that most of the planets lie in. Most, but not all of the stars in our galaxy orbit the center of the galaxy in the same direction. Some of the stars go around the center in the other direction.
Galaxies rotate every which way.
There are some fairly weak correlations seen in the orientations of the axes of galaxies relative to their surroundings. If the universe is the way it is because that is the way it has to be, then, perhaps physics is the deity. The universe may be infinite, or it may be finite. We don't know. If it is infinite, light rays will never return to the place they left.