Lawrence Kohlberg was an American psychologist that created a theory on how people develop moral based on the theory proposed by the Swiss psychologist Jean Piaget. According to Kohlberg moral is directly connected to ethical behavior and develop through six different stages, at the same time the development of moral depends on the concept of justice each person has and their cognitive development that helps the individual justify their actions as moral when acting or to considering certain actions as immoral or unfair.
Due to this cognitive development, Kolhberg also proposed the moral development became more complex and changed during the adolescence as during this stage of life there was also a process of cognitive development. Thus, it can be concluded Lawrence Kolhberg believed the individual's moral behavior was an outcome of the stage of cognitive development as Kolhberg proposed the more complex the cognitive development was the more complex was the moral as the individual was able to consider concepts of justice and moral behaviors based on logical mental processes which makes the statement of the question true.
The King of Arcadia is angry when Atalanta is born in the story "Atalanta, the Fleet-Footed Huntress" because Atalanta is a girl and the king wanted a son, a child who could take over his majesty.