The claim gets stated confidently in both directions, and the evidence supports neither extreme.
Decades of research have looked for a causal link between playing violent games and committing real-world violence, and it hasn't been established. Youth violence rates in several major markets fell over the same period that game sales rose sharply, which is the opposite of what the strong version of the argument predicts. What studies do find are smaller, short-term effects on things like aggressive thoughts or arousal immediately after play — which is not the same as violence.
The more defensible position is about age-appropriateness. Ratings exist because content that's unremarkable to an adult can genuinely unsettle a young child, and that varies by the child rather than by their age in years.
So: pay attention to what your kid is playing and how they respond to it. That's a more useful guide than the headline claim in either direction.