Canon Law is LAW, and is by no means uniformly "infused" with scripture OR mercy.  Once upon a time, the prerequisite degree for teaching moral or pastoral theology, especially in seminaries, was a doctorate in Canon Law, which also put the clergy-recipient on career track to become a bishop!  Vatican II changed that pattern for the better!   And even today, lawyers,  including canon lawyers. are hardly known for their humility!   There is a whole lot more to Pastoral Wisdom or Guidance, especially nowadays, than the study or application of Canon Law!  And the future of the RC church depends on that!