Depending on your actions in Hollow Knight: Silksong, you can unlock one of multiple endings that change the Hallownest's fate. Much like the original Hollow Knight, the endings you get are determined by which quests you complete, which characters you interact with, and what other goals you accomplish before the credits roll.