Please remove all grammar flaws from the sentence
The mother could have saved herself and her son all the trouble by just acting like a mother.
The mother could have saved herself and her son a lot of trouble by just acting like a mother.