Get your taxes done using TurboTax

No you get to keep the $1400 --- you do not have to pay it back.   Since you are 24, the only way they can claim you is if you had less than $4300 of income in 2021.   Does that fit?    If they claim you they get a $500 credit for other dependents.  If their income is too high they do not get the $1400 for claiming you.

**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**