Doesn’t count. It should not be considered infringement if it is not used for commercial purposes and the source is noted or explained. In addition, the protection period of personal copyright is from the author's lifetime to 50 years after his death. If it has exceeded this time, it does not constitute an infringement. However, in the meantime, quoting other people's famous quotes and using them for commercial purposes is an infringement, and you can bear varying degrees of consequences and penalties according to the copyright law according to the situation.