Saw a protein deficit for weight loss?

I was watching youtube videos and a video about how someone lost weight talked about being in a protein deficit was recommended to me (I didn't watch it tho). I always hear protein is so important for EVERYTHING, does protein deficit actually do something? i dont think so but still