Galaxy is a pretty big discrepancy!
It’s an ongoing dilemma. In addition to dark matter and dark energy, we might need ‘light fatigue.’
The implication being that if light waves tire out, then red shifts aren’t entirely measurements of distance, and expansion of the universe may not be accelerating, with no need to conjure up dark energy at all. It’s tempting.