What is wrong with this datapack

When a player dies the effects are not given so I don't know what is wrong with it.
Continue to help post