I had a similar problem and it took several attempts to fix it. I caulked all the obvious places, then sprayed the brick with a Thompson’s Water Seal type product, but for chimneys. Still leaked.
Finally, I took really good quality clear caulk, and painstakingly use a finger to push it in...