That is horrific parenting advise in my opinion. Yes, I would want my child to tell a teacher and to tell me. I would want her to avoid the fight. In addition, generally if there is a fight the school will treat both as equally responsible and suspend or expel them both, Education and grades were the highest priority of her education and being expelled for fighting would severely damage her academic record. That doesn't seem to have been your priority by your messages.
Where I grew up the men forced the boys to fight and gambled on the outcome. The loser often was brutally abused and assaulted in sadistic ways. I was likely in over 1000 such fights by age 15, when I successful fled using great violence to do so. What you are posting about courage and being in the right wins a fight is total nonsense.
Your message is radical, very. That if you kid though someone might be going to shove them, you want your kid to rip out that other kids eyes permanently blinding the other kid, stomp on the other kids face and throat, beat that other kid with a metal chair and any and all other violence and injury. Simply put, those words are you telling your kid to be a terribly violent bully himself. But, then, I suspect they are just words and nothing else. Hopefully if not your kid was smarter than to listen to you.
I would never encourage my child to get in a fight my child couldn't win and certainly would not disown or be embarrassed of my child for not doing so. That is not only terrible advise, it is very stupid and in my opinion evil parental demands on a child. While I don't know you or your kid, it is likely mine kid could "beat the crap" out of your kid or you - and she's female. But I would want her to avoid a fight at school in everyway possible and for her to know that she does not have to prove her courage, toughness or skill to anyone. If a fight thrust upon her I would want her to get out of it as quickly as possible and go directly to school staff over it.