Yes it is important. Mutual defence treaties are a very powerful diplomatic tool in diplomacy. Countries use defence treaties as a deterent against other countries. There is strength in numbers. By signing such treaties a potentially hostile country must look at the help others will recieve if it acts aggressively.