22These words the LORD spoke to all your assembly at the mountain from the midst of the fire, of the cloud and of the thick gloom, with a great voice, and He added no more.
He wrote them on two tablets of stone and gave them to me.
Deuteronomy 5:22 NASB
Gentiles do not have a commandment to learn the Written Torah.