What does "Spare the rod and spoil the child" MEAN?

My teacher gave my class a quote by a novelist Daniel Defore (1659-1731) and we need to find out the meaning of it in simple terms.

"spare the rod and spoil the child"

can anyone please help me?? I can't seem to figure it out!
6 answers 6