Indivisible reality?

I was once told that reality is flawed, because any distance between two points can be divided into an infinite number of smaller distances. Nothing can cross an infinite number of distances, no matter how small, therefore reality is flawed. Supposedly this came from Einstein.

But it's not reality that's flawed, it's mathematics! Math beautifully captures most of reality in some way, but falls short in this particular circumstance. I think Einstein know this well. Let us keep in mind that the map is never actually the territory.