In Buddhism it is referred to in this manner:
The Noble Eightfold Path
1. Right View. The right way to think about life is to see the world through the eyes of the Buddha--with wisdom and compassion.
2. Right Thought. We are what we think. Clear and kind thoughts build good, strong characters.
3. Right Speech. By speaking kind and helpful words, we are respected and trusted by everyone.
4. Right Conduct. No matter what we say, others know us from the way we behave. Before we criticize others, we should first see what we do ourselves.
5. Right Livelihood. This means choosing a job that does not hurt others. The Buddha said, "Do not earn your living by harming others. Do not seek happiness by making others unhappy."
6. Right Effort. A worthwhile life means doing our best at all times and having good will toward others. This also means not wasting effort on things that harm ourselves and others.
7. Right Mindfulness. This means being aware of our thoughts, words, and deeds.
8. Right Concentration. Focus on one thought or object at a time. By doing this, we can be quiet and attain true peace of mind.
Buddhists don't share the Christian concept of sin, but rather samsara. Samsara is essentially repeating the same lesson(s) over and over again until it is learned. Many lessons are painful, as we all know. Repeated lessons come in many different forms, but the lesson is the same until we learn it. Punishment? I suppose you could view it that way. From the Buddhist perspective it doesn't come from an angry "God".
The 8 guidelines above are recommendations or directions (not directives) as to how to live correctly and thus end the cycle of frustration and pain and attain enlightenment. In my experience it's easier said than done.
We are all "God" or God is not all.