Sword datapack help pls

Hi i would like to make a sword datapack that would upgrade its sharpness by 1 on every player kill

Continue to help post