This, sadly, is NOT uncommon, with cheap USB wifi adapters.
Spend a little more, get a better-quality name-brand USB adapter, or do more research on well-reviewed cheapo ones, and get a *USB extension cable*, so you can plug the adapter into the extension, and then wave it around until you get a good signal.
Or, you could troll ebay, and buy some "high power USB wifi" adapters, and use one of those.
I've got some "X-Media 300Mbps High Power Wireless-N USB2.0 Adapter" units, cost me around $20 shipped each on ebay from PremierTek's online store.
I've got a friend using one of these to connect to a neighbor's wifi two stories up. Although, that hasn't been without problems also.
If your PC is 5 meters from the router, why not run an ethernet cable?
Or, get an AC (AC1200 or bertter) router, a decent one, and then get a wireless AC1200 or better "media bridge", and connect your PC to the media bridge.
I'm doing something similar right now. I've got an AC68R/U as my main router (AC1900), and I've got a TrendNet AC1200 Wireless AP, in Client Bridge mode, connected to my wireless router. My LAN in the other room is connected wired to a gigabit switch, and then from the switch to the AC1200 AP Client Bridge.
I will say, though, that I also have some PremierTek 8812AU RealTek-chipset USB3.0 AC1200 adapters, that work pretty well with an AC1200/1900 router. They cost $20-25 from PremierTek's ebay store.
Edit: Failing all of that, it could just be a USB power issue with your PC, and you would be better-off getting a USB3.0 or USB2.0 powered hub, to plug into your PC (data connection), and then plugged into the wall (for power). I use those as well.
Edit: And if your current USB adapter is a "nano" wifi adapter, those almost universally suck, and can burn out easiy due to extended usage, like music streaming.
I will vouch for the PremierTek PT-8812AU adapters, they don't burn out due to music streaming. They're also more than two inches long.