Check data apply damage

i wanna check for data get entity @s Hunger and if it is above lets say 3000 i wanna apply damage plz help thanks in advance 😄
Continue to help post