There’s a novel by Terry Pratchett called ‘Interesting Times’ which from what I remember perpetuates the myth that the saying came from China. However I suspected that it was artistic license and possibly not true as you say.