the non aggression pact was created so that what would not declare war on each other

The non-aggression pact was created so that two or more nations would not declare war on each other. It is a bilateral or multilateral agreement in which the signatories agree not to use military force against each other.