Law as tutor/guardian
Here’s what it means
The law served a temporary supervisory role leading to Christ and exposing the need for faith.
Why the Bible says it this way
The writer uses a picture to explain one thing by describing it as another.
A helpful detail: The ancient guardian supervised a minor; the metaphor does not call God’s law evil.