The purpose of negative testing is to prevent your application from crashing and it also helps you to improve the quality of your application as it helps you find the defects.
Negative testing helps you to improve the testing coverage of your application.