How good relationships, optimism, and being a good person can pay off.