Truth about Spare the Rod, Spoil the child in the Bible

Does the Bible say to Spare the Rod and Spoil the child or the other way around? Want to find out? I share with you what the Bible says & where you can find it.