Sorry to hear about that! However, rejection is also an experience. Use the time given to significantly upgrade your profile and to maximize your chances next year!
- Relevant work experience. Have you applied somewhere else? Tier 2 consulting firms could be a great start and give you the needed experience that would be of great advantage in the future and make you a better fit for the desired company.
- Preparation. Solve different types of cases, prepare for the fit part carefully, improve your feeling of confidence.
- Networking. I would strongly recommend finding some contacts within the targeted firm to understand how it is from the inside, have a better idea of your position here in the future.
Maybe even think of the guidance of an experienced coach.
Do you need any further help?