Religion was founded on the premise of making mankind better themselves through commandments or rules set down by a deific being who many believe in, in some form or another and the breaking of such will lead to dire consequences,
a divine judicial branch.