Both sources you link to say Allen and Gates pulled listings of the PDP-10 operating system out (probably DEC's TOPS-10?) of the trash. BASIC is not an operating system. So your claim is debunked by your own sources.
"...digging out the operating system listings from the trash and studying those. Really not just banging away to find bugs like monkeys[laughs], but actually studying the code to see what was wrong."
https://americanhistory.si.edu/comphist/gates.htm
"...He and Bill would go “dumpster diving” in C-Cubed’s garbage to find discarded printouts with source code for the machine’s operating system..."
No matter where you think the code came from, the impact of Microsoft BASIC was huge, and they were first to the market.