I always marked up a piece of paper before taking a job, looking at the pluses and minuses. If the latter outnumbered the former, I would pass.
People always ask me for my secret. There isn't one. You've just got to keep a level head and stay away from greed, which is the worst thing that can happen to a successful person.