Custom advancements for a datapack 1.21.4

I have tried to add them in the past, used generators but I just can't do it 😔 please help me
Continue to help post