Make sure the pan is well-seasoned, though

While it's generally acceptable to use metal utensils with a cast iron pan, there are some important considerations to keep in mind. If your cast iron pan is brand new and has just been seasoned, it's wise to use gentler utensils, such as wood or silicone, during the initial uses. This approach helps the seasoning to properly set and strengthen, while also preventing any accidental dents or damage to the metal beneath the still-thin seasoning layer. The same caution applies to older pans that have been re-seasoned after losing most of their coating, as they are equally susceptible to rust and food sticking.
For these reasons, it's best to avoid metal utensils altogether when cooking with an unseasoned cast iron pan. However, this advice is somewhat moot, as you should ideally never cook with unseasoned cast iron in the first place. Doing so can lead to rust formation and food becoming stubbornly stuck to the surface.
But metal is bad for some other types of cookware

The belief that "metal utensils are harmful to cast iron" likely stems from a misunderstanding, carried over from contexts where metal is not advisable (such as with nonstick cookware). However, there is one specific type of cast iron cookware that is less compatible with metal utensils: enamel-coated cast iron.
Enameled cast iron pots, pans, and skillets (like the iconic and colorful cookware from Le Creuset) have a cast iron core covered with a porcelain enamel finish, similar to the glaze used on pottery. This enamel is generally quite durable, leading to some differing opinions. Some experts suggest that using metal utensils is acceptable, provided you avoid striking or jabbing the cookware forcefully, as this could lead to cracks or damage. Others caution that these pans are more susceptible to scratches and wear, so while metal utensils can be used if handled gently, it’s probably wiser to opt for wooden or silicone utensils, especially if you want to keep your investment in excellent condition.
Recommended

Turn Leftover Holiday Ham Into The Next Morning's Eggs Benedict

The Paper Bag Trick To Prevent Ice Cubes From Sticking Together

Why Is It Called Dijon Mustard?

13 Storage Tips For Longer-Lasting Strawberries
Next up