Moses said to God, "If I go to the Israelites and tell them, 'The God of your fathers has sent me to you,' and they ask me, 'What is his name?' — what should I say to them?" (Exodus 3:13 NET)
It is commonly taught that this passage is where God revealed His name to men, but that is born from a misunderstanding of what Moses was asking. It was not that Moses did not know God's name. He wanted to understand what it was that God was going to do.