(as it is written in the Law of the Lord, “Every firstborn male is to be consecrated to the Lord”),
NMV(As it is written in the law of the Lord - Kurios, Every male that opens the womb shall be called holy to the Lord - Kurios;)
OJBAs it has been written in the Torat Hashem, KHOL ZACHAR opening the RECHEM KODESH to Hashem,
T4T[2:22–23]It had been written by Moses {Moses had written} long ago in a law that God gave him, that when a woman gave birth to her first son, the parents had to take him to the Temple in Jerusalem in order that they might dedicate him ◄to the Lord/to God►. So when the time came for them to do those rituals so that God would consider them pure again, Mary and Joseph took Jesus there.