a little soot fell off a candle wick onto the carpet and got smeared around, so it just looks dirty. the entire game is blot, never rub. soot is oily particles and rubbing grinds it into the fibers, so every step is about lifting instead of pressing.
the order: vacuum the spot dry first, just the hose hovering so the loose soot comes out before anything wet touches it. then sprinkle baking soda or cornstarch over the stain, wait twenty to thirty minutes, vacuum again. it absorbs the oily part so it cannot smear deeper. then dampen a white cloth with rubbing alcohol and blot, lifting from carpet to cloth, and flip the cloth to a clean spot every pass so you are not re-depositing soot. alcohol cuts the oily component and evaporates clean.
finish with a drop of dish soap in warm water, blot it on, blot it off with a clean damp cloth, press a dry towel and let it dry fully. if a gray shadow remains once dry, repeat the alcohol step, soot always looks worse while damp. the trap is reaching for carpet shampoo or oxygen cleaner first, those can set the oil. absorbent powder and alcohol first, shampoo never.