I find it best to never underestimate how pedantic strangers on programming related forums can be, so good we've got that out of the way.
I imagine you'd enjoy Martin Porter's four Principles for Quotations and his two pieces on sourcing the Edmund Burke BogoQuote:
* https://tartarus.org/martin/essays/burkequote.html
* https://tartarus.org/martin/essays/burkequote2.html
( and possibly even Porter's paleoCompSci work on stemming: https://tartarus.org/martin/PorterStemmer/ )
> It's really curious why people who never read Dostoyevsky make up quotes for him with phrases that nobody with a good command of the Russian language could have written.
It's a solid quip, almost serviceable as a Reader's Digest Condensed Book one page summary of Dostoyevsky prison book save for being too good (in English at least) for that sad US affront to literature.
People make up quotes for all manner of reasons, imperfect memory, a need to summarise, it's a joy to tumble both rocks and words to knock off some rough edges and brighten up a gem. Attribution to "elsewhere" is also common enough -- it can upsell your own work by attribution to a great name, it can deflect criticism if you've only polished a turd.
As curious questions go though, why not attribute it to a translation of Solzhenitsyn or Henri Charrière, (it's in the spirit of Oscar Wilde or Stephan Fry perhaps, but their works are already in English and a little too familiar for the bogoquote treatment (maybe)).