This property of the diatonic scale is called Pythagorean tuning. It was historically relevant and contributed to the worldwide diffusion of diatonic scales, because it allowed musicians to tune musical instruments easily by ear.