LLM use != vibe coding (latter should be reserved to "cattle" projects)
One can use LLMs to find vulns and/or review hand-written code, for example. But to answer your question, one doesn't understand code they didn't design nor write themselves.