That is the meaning. Are you familiar with the old axiom: Spare the rod, spoil the child ? It means that if you don't punish (spank) the child when he is naughty, you will spoil him.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.