It’s sort of like this.
A child is in the store with her father. The child sees a toy that she wants. She says to her father, “Father, if I clean my room, will you buy me this?”
“No,” he says, "you cannot earn it by doing work.
She asks again, “Father, if I wash the kitchen floor, will you buy me this?”
“No,” he once more replies. “You can do nothing to earn that toy. However, I will give it to you as a gift on your birthday.”
The child becomes excited. “Oh thank you father,” she exclaims.
“Remember though,” says the father, “you must behave, and do what I tell you. If you do not, then I will not give you the gift!”
The child agrees. A week later, the father tells the child to clean her room. She does so. Another day, she is told that she must wash the kitchen floor. This too she does. Finally, on her birthday, her father gives her the toy.
Did the girl earn the gift by doing these chores? No, it was a gift. Nevertheless, she still needed to do the chores.