Imagine you ate chocolate and your whole face is dirty, but you don't know it. Then a friend comes and tells you: "Hey, wipe your face, it's dirty!" Do you get mad at your friend? No! You thank them, because they helped you get clean and look nice again.
Getting "told off" (corrected) is just like that warning. When Dad says "Don't do that" or "Say sorry," he's cleaning your heart so you can shine like gold. Whoever listens and obeys becomes a "precious" kid!