To elaborate, and because the game doesn’t really explain this - there are three “types” of endings.
Obviously, spoilers.
Pacifist, where you do not kill a single enemy(yes, that includes chumps),
Genocide, where you kill literally every single enemy, including grinding encounters in every area until “nobody showed up” or whatever it says(this is meant to be an unenjoyable experience outside of two mildly interesting unique fights, and boy does it succeed)
And “mixed”, which is anything between the two.