Yes, if the technology is advanced, the scope of patent protection is well written, and the invention patent is authorized, it will play a very important role in protecting your product and market. Any company can reprimand the trade association, send a lawyer's letter or sue.
But if you apply for a patent casually, it is useless to look up a lot of similar prior patents abroad.