Gravitational waves (GWs) from binary black hole mergers provide unique opportunities for cosmological inference such as standard sirens. However, the accurate determination of the luminosity distance of the event is limited by the correlation between the distance and the angle between the binary’s orbital angular momentum and the observer’s line of sight. In the letter, we investigate the effect of precession on the distance estimation of binary black hole events for the third-generation (3G) GW detectors. We find that the precession can enhance the precision of distance inference by one order of magnitude compared to the scenario where precession is absent. The constraint on the host galaxies can be improved due to the improved distance measurement, therefore the Hubble constant can be measured with higher precision and accuracy. These findings underscore the noteworthy impact of precession on the precision of distance estimation for 3G ground-based GW detectors, which can serve as highly accurate probes of the Universe.