I had the same issue - got a newer router thinking it would fix things, but 5 GHz was still unstable. Turned out the channel was overloaded. I went into my router's web interface, checked the Wi-Fi settings, opened the channel analyzer, and switched from automatic channel selection to a specific channel that was less congested in my apartment. The signal started holding up much better even through another room.
but you gotta understand that 5 GHz will always perform worse through walls than 2.4 GHz - that's just physics. if you're just broadcasting Wi-Fi into the next room and the signal drops dramatically, try this too:
- go into settings on your device itself (phone, laptop) and turn off power saving modes and fast roaming if you have them. sometimes the device switches to weaker 2.4 GHz on its own to save battery;
- move the router physically higher and closer to the center of your place, if that's even possible;
- check if your router's getting jammed up with interference from a microwave, wireless speakers, or other 5 GHz devices.