“It is better to be vaguely right than exactly wrong.” The sentence is often credited to John Maynard Keynes, also in variants with “roughly right.” Quote Investigator found no direct evidence that Keynes used either wording.
The sentence comes from Logic: Deductive and Inductive, a textbook by Carveth Read, published in London in 1898.