Most likely, the two technologies will coexist for a period of time as network rollouts progress. Right now, 5G can be used as an alternative to Wi-Fi depending on location and coverage.
It’s also beneficial in public areas, where 5G can be safer than Wi-Fi.