I live with that every single day. It keeps me moving. As well with Desiderata.
"If you are kind, people may accuse you of selfish, ulterior motives; be kind anyway. If you are successful, you will win some false friends and true enemies; succeed anyway. If you are honest and frank, people may cheat you; be honest and frank anyway. If you find serenity and happiness, they may be jealous; be happy anyway. The good you do today, people will often forget tomorrow; do good anyway… You see, in the final analysis, it is between you and God; it was never between you and them anyway."
— Mother Teresa