No, not all iPhones have 5G. Only the latest iPhone models - the iPhone XS and XR - come with 5G support. Older iPhones (iPhone 8, 8 Plus, 7, 7 Plus) do not have 5G support.