Luke 2:23

23 (as it is written in the Law of the Lord, “Every firstborn male is to be consecrated to the Lord”a ),

Read Luke 2:23 Using Other Translations

(As it is written in the law of the Lord, Every male that openeth the womb shall be called holy to the Lord;)
(as it is written in the Law of the Lord, "Every male who first opens the womb shall be called holy to the Lord")
The law of the Lord says, “If a woman’s first child is a boy, he must be dedicated to the LORD .”