What does it mean to "spare the rod, spoil the child"?

This article has been translated into the following languages:

عربى Español Indonesia Magyar Polski Português සිංහල