Goodness and badness can be considered in three distinct senses.
1. Perfection and deficiency: knowledge is a perfection; ignorance is a deficiency.
2. Suitability and aversion: something may fit or conflict with a person's aim or disposition.
3. Praise, reward, blame and punishment: an act may bear consequences specified by religious law.
The first two senses can be understood in terms of reason, experience and human purposes. The third concerns obligation and divine reward or punishment. A worldly benefit, by itself, cannot establish a religious obligation.