Being good is the best way to lead a life that is enjoyable and fulfilling. A life lived behind bars as a result of bad deeds can't be very interesting. Being good is really in ones best interest. Some evil people may lead interesting and fulfilling lives but the vast majority do not. Logically it is the most rational decision a person can make.