Useless activity. Not worth advising someone about something. Suggests an exasperation with not being able to communicate with someone, so you just stop trying. (Compare to Knock one’s head against the wall.)
“Explaining math to her is a waste of my breath and a waste of her time. She’ll never understand it.”