The brief asks the court to issue sanctions in this case because the litigation is for an improper purpose. That is, there is no sound legal basis for the filing, so it is an abuse of the judicial system, and the court may punish that.
So, no, it’s not always the best idea to just throw a lawsuit at the wall and see if it sticks.