What is the meaning of [one sword keeps another in its scabbard]

Showing that you are ready and able to defend yourself is a good way of discouraging others from attacking you