The thing about karma is that it keeps track of your deeds from life to life, so even if you give out all good karma in this life but only get bad in return, all that good karma you're saving up could hit you all at once in some other life. I believe thats how karma works.