In the context of the musketeers, it means that when one is attacked, the other three stand by them. They support each and every one of their friends. Each and every one of the is also loyal to their established group. In NATO, it means if one county is attacked, all the others support and each country is loyal to NATO.