Q. If one goes to a shul and there is a lot of talking, is it better to leave and go to another a minyan or better to stay as some may be insulted if you left?

A. Horav Shlomo Miller’s Shlit”a opinion is that in principle it is certainly better to leave that shul and attend one where davening is carried out with proper kavanah and with the right kovod, derech eretz and respect to the presence of the Shechina. However since it is not clear from your question what and how exactly or which individuals may be insulted, it is better to consult with a competent Rov who is familiar with the case.

Rabbi A. Bartfeld as revised by Horav Shlomo Miller Shlit”a