Frankly, I am upset with Samsung. We paid big money for phones like the s10 and s20 and they don't support 5g, and now phones are being downloaded at low prices that support 5g
5g technology did not exist at the time s10 was released. The 5g chipsets have different hardware configuration, and cannot be upgraded. As mentioned by @ghost777 exchanging your phone is the only option.