Even that evolved with time.
This was one of the many disagreements between Catholics and Protestants during the 16th-17th century, for instance, with some of the most powerful Catholic currents (e.g. Jesuits) being very much in favor of rethinking morality to take into account context, while the most powerful Protestant currents pushed for taking morality back to [their interpretation of] the manichean early Christian dogmas.