Well, I see you found the thread. You know, that question is not an unusual one for people who are interested in cosmology. Actually there are many factors that skew red shift data, but there are many ways to confirm expansion as well.
How much do you know about expansion or as it is sometimes called inflation of the universe? The outcome of the expansion depends on the energy density of the universe and based on current understanding the expansion is accelerating so the indication is that the universe will expand forever unless some other factors are operative.
Many cosmologies exist in addition to Big Bang Theory which is the one I was referring too. Eternal inflation, the Arrow of Time, de Sitter universe, the Big Rip and my favorite, Quantum Wave Cosmology are all alternative theories and/or ideas.
The only one of that group that defeats entropy is QWC but is not theory, it is protoscience because it cannot be tested but is consistent and compatible with science, doesn't invoke unreasonable speculation and has no supernatural dogma.
I'm out of power and on vacation so I have to recharge. Let me know if you look into any of the alternative cosmologies.
One more thing, gravity. The inverse square rule applies to the separation of galaxies so yes the gravitational attraction declines at the inverse of the square of the distance. And yes, that accounts for the expansion after an early period during expansion where gravity still allows clumping of matter, and star and galaxy formation. After expansion reaches the point where it exceeds the ability of gravity to cause further grouping on a large scale, then expansion is in control. The average energy density will determine if expansion or gravity ultimately wins?