Karma is a noun; it's a myth based on your behaviour. If you're good then you will have a good karma, if you're bad then you will have a bad karma. The first sentence is saying that if you behave well then it'll do you well in the future.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.