It depends. Standard 2.4 and 5 Ghz bands both have advantages and disadvantages. WiFi 6e operates in the 6 Ghz band, which provides speed, capacity and interference benefits.
2.4 Ghz is the standard band with greater range, but is subject interference and can slow down speeds. The 5 Ghz band is not as crowded. It has less interference, typically faster speeds, but less range.