Ethics as a blueprint for a stable society