That is not what your source says. It gives one quote by him that may be misinterpreted in this context, but later clears up that Einstein was not really opposed. He merely thought that pure math was a valid way to discover new scientific insight. But even that point of view, while radical at the time, is pretty much in line with logical positivism and has turned out to be true many times since then.