I don't think there's anything wrong with telling off a kid for being a brat. However, "that's how my parents raised me" strikes me as a pretty poor defense of one's own parenting. Your parents could be wrong, i.e. "My parents spanked me, therefore spanking is good parenting."