The _ValidationScriptsPartial partial is for adding client side validation to the HTML form. It has nothing to do with the ValidateAntiForgeryToken. Just open the partial and review the code. It should be pretty clear.
The asp core form tag helper automatically adds the antiforgery token field to the HTML form.
Prevent Cross-Site Request Forgery (XSRF/CSRF) attacks in ASP.NET Core