How can you deal with rejection generously?

It happens to me all the time...