Your Mac's connection preference depends on various factors such as signal strength and compatibility. Ensure your Wi-Fi router is set to use both 2.4 GHz and 5 GHz bands, and try moving your Mac closer to the router to improve the likelihood of connecting to the 5 GHz band.