The recommendation would be to insulate the cavity of the stud wall with acoustic mineral wool prior to soundproofing the wall. This acoustic insulation stops the sound from amplifying and resonating inside the sealed cavity.

Learn more: Acoustic mineral wool and soundproofing