All the stars are have the same distance to Earth.
wrong. Correct! There could be huge differences. A brighter star at a bigger distance will look just like a weaker star at a shorter distance.