There are several perspectives about what it means to be under the law.
One perspective is that Jesus came under the law.
Gal 4:4 But when the fulness of the time was come, God sent forth his Son, made of a woman, made under the law,
Gal 4:5 To redeem them that were under the law, that we...