put a damper on

/P UH1 T AH0 D AE0 M P ER0 AA0 N/
verb
  1. 1

    To stop people from enjoying an activity.

    โ€œJohn told us he had lost his job, which put a damper on the celebrations.โ€

Source: https://en.wiktionary.org/wiki/put%20a%20damper%20on