What was Max's destiny to be in the Stranger Things finale?

WARNING: in the text there are spoilers about the finale of the fourth season of Stranger Things
max against Vecna in Stranger Things
Max in the ending of Stranger Things 4: the plans
Below you can read the words of Ross Duffer during the Netflix Geeked:
Max's death was discussed as a possibility, and for a while that was what had to happen. We wanted to end the season with a question mark. It's still dark and we don't know if Max will be okay… We don't really know. We wanted to leave the situation unresolved to return to talk about it in season 5.
Max is one of the four victims designated by Vecna for the purpose of triggering the apocalypse, turning Hawkins into a hellish landscape invaded by the Upside down in sight of the fifth and final season of Stranger Things. Unlike Max, who was considered clinically dead for a minute before being revived by Eleven, the other people killed by Vecna are no longer alive and therefore will not return in the final season. As comicbook.com recalls, among the sacrificed characters are cheerleader Chrissy Cunningham (Grace Van Dien), Hawkins High reporter Fred Benson (Logan Riley Bruner), and athlete Patrick McKinney (Myles Truitt).
All nine episodes of Stranger Things 4 are currently available on Netflix (you can find the platform board game on Amazon).