This is not an "upgrade." This is "replace product with a different product in the same space." Old GA data is incompatible with GA4 data, and there is no way to bring data from one into the other. Google is discontinuing Google Analytics, and applying the Google Analytics brand to Firebase Analytics.
Nothing carries over. Configuration, implementation, goals, user permissions, historical data, nothing. It all has to be re-built from scratch.