why NaMo encourages Mahagathbandan?

After Krishna killed his uncle Kansa, Kansa’s father-in-law Jarasandha was very angry with Krishna and attacked Mathura 17 times to kill Krishna and Balarama....