warn away from

warn someone away from someone or something

to advise someone to avoid someone or something. We warned her away from the danger, but she did not heed our warning. Why didn't you warn me away from Roger?
See also: away, warn