You are correct! The carboxylic acid will react and form water and the carboxylate anion. This is a very favorable exothermic reaction. The bromine atom on the benzene ring will not react in a SN2 reaction.