Follow up: I can’t seem to find any ruling that says you need to destroy the scanned book. Destroying the book might bolster your case in a copyright lawsuit, but the law does not require it afaict. I doubt you would lose a lawsuit simply because you put the book in a locked warehouse after scanning it.
The term you want to Google on is "fair use", and be prepared for a nightmare of complexity and fuzzy borders if you want to really learn about it.
"Non-commercial" use can relate to one particular aspect of fair use, but there definitely is no blanket "you can copy work for non-commercial use" proviso in copyright law.
You are mixing the concepts of fair use and non-commercial use.
Non-commercial use is not allowed in Brazil. But Brazil does have some fair use exceptions (like most countries that signed the international agreement on intellectual property).
In Brazil it's illegal for me to make copies of a book and distribute it for free on the streets, for example. It's 100% non-commercial, but still illegal.