Wake up in the morning, and you will say loud, “I’m happy”, “I’m strong”, or “I’m successful”.
Yes, this action to state firmly is affirmation.
Another meaning is to say yes(agree) or support.
If Someone gives your children some food, they will make eye contact with you before they eat them. If you don’t mind, you will nod in affirmation.