Some more info on the ores(mystery ore not included).
Gold is an ore that can be found in the Overworld and the nether. It is useful for making Golden Apples and trading with Piglins. However, DO NOT use it for tools or armor (other than *boots for piglins*) The Tools' Durability is 30, which is Half the durability of Wood. However, gold tools are the fastest tools, so they can be used for mining some obsidian that is blocking your path. They also have the best chance for good enchantments. The Armor, however, is useless. Never make it. Even leather is better.
Lapis is an ore that can be found in the overworld. It is used for enchanting without enchanted books and making Blue Dye. Similar to Redstone and Nether Gold, it drops multiple ores when mined. It is the Only Ore that can be made into a dye. It cannot be made in to armor or tools. This ore can get confused with Diamonds when mining, so look carefully.
Diamond is an ore that can be found in the overworld, mineshaft chests, and end city chests. It is used for Armor/tools and Jukeboxes. Diamond armor/tools is the 2nd best Armor/tools, only beaten by Netherite. It can only be found under Y-Level 16. A Diamond pickaxe is required to Mine Obsidian and Ancient Debris (Netherite).
Netherite (ancient debris) is an ore that can only be found in the nether. It is used the same way as diamonds, but it can make Lodestones instead of Jukeboxes. Lodestones, if connected to a compass, the compass will point to the lodestone. This is useful because it can prevent players being lost in the nether. Netherite is the only ore (other than diamond) that uses a Smithing Table. The way to find it is going to the nether and finding Ancient Debris (Ancient Debris Kind of looks like a cinnamon bun.) Then you smelt it into netherite scrap. Once you have 4 scrap, combine it in a crafting table with 4 Gold and you get a netherite ingot. Then, go to a smithing table. Then Put a Diamond item (ex. pickaxe) in the left slot. Then put the ingot in the middle slot and you get a Netherite Pickaxe.
Emerald is an ore that can only be found in Extreme Hills biomes. Its only use is for trading with villagers and Beacons.. While it is very helpful for trading, it is completely useless in everything else. There is absolutely no reason to go mining for them, though. Just trade stuff to villagers for them.
-All of the above ores Except for lapis can be used for Beacons.
-Emerald is both the rarest and least useful ore in the game.
-The Mystery ore is an emerald.