Death is not “meant to be”. If death were meant to be, baby’s and puppies would not die upon birth, because they experienced nothing of life to give the meaning to “meant to be”.
“But it was meant to be so that other people would learn from the experience.”
What or who has proven this to you? Nothing and nobody.
“But death gives meaning to life.”
Then if we lived forever, suddenly every experience would mean nothing simply because we don’t die? Birth? Marriage? Learning? Worship? Meaningless? Of course not.
Death is simply an immutable fact. It means nothing but what you ascribe it.