Over the ancient ages and even in contemporary times, the law has been used as a powerful tool to govern societies, whether it is a positive or moral law .