Common misconception but yes, while gold is commonly used in jewelry it has great use for technology as well. Both gold and silver are great conductors of electricity, so they are used in the circuit boards of EVs and traditional fuel vehicles. Since it’s gold and silver can be quite pricey, they are only used in small quantities.
While the drilling and processing of these precious metals are definitely harmful to the environment, the metals themselves are fully recyclable.