To get pedantic, the executive is there to enforce (and decide how to enforce) the law.
The judicial is there to decide if a given law should be enforced (and if a given enforcement method is valid)
This is why I’m not a big fan of originalism: that is almost always a subjective decision.
Otherwise we would just have a legislative and an executive.