…that is the question!
Many (cool) quotations spread on social networks; numerous are either inaccurate or awarded to the bad person.
On the one side, it is annoying if we want to be rigorous.
On the other side, the context of this sharing of inspiring quotations implies that it is not so bad in fact: we look for one-liners to make us feel better. Does a sentence need to be pronounced by someone famous to be cool?
In brief, concerning that above, somebody found the origin which does not come from Shakespeare, but from William A. Ward (1921-1994):
Before You (by William Arthur Ward)
Before you speak, listen. Before you write, think. Before you spend, earn. Before you invest, investigate. Before you criticize, wait. Before you pray, forgive. Before you quit, try. Before you retire, save. Before you die, give.