“This Snopes article concluded that its status was uncertain, while this post from The Quote Investigator concludes it is most likely a false attribution, since variants of the quote date back to at least 1916, with the early variants not being attributed to Einstein.”
Source: Wikiquote