This is wrong. The more the distance between two devices, the bigger the latency. It doesn't mean that the increased latency causes a problem necessarily, but I less you want to break the laws of physics, this is all but expected.
A simple Google search provides many results that confirm this.
Learn about bandwidth and packet drops and the impact of all this on "the speed of the internet », the factors that contribute to latency including propagation, serialization, queuing and switching delays.
www.scaleway.com
In modern networks, the primary source of latency is distance. This factor is also called
propagation delay. The speed of light in a fiber is roughly 200,000 km per second, which gives us 5 ms per 1000 km single-direction and the mnemonic rule of
1 ms of round-trip time per 100 km.
However, fibers rarely follow as-the-crow-flies lines on the map, so the true distance is not always easy to estimate. While the routes of submarine cables are more or less straightforward, metro fiber paths in highly urbanized areas are anything but.
I'd recommend reading that article.