Windows 95 and 98 came with QBasic, but it was not installed by default. It was an optional "extra feature" that could be added from your Windows installation media.
I apologize for misreading your post, I thought you asserted that Windows did not come with QBasic. I'm well aware of what QBasic was - it's what I used when I first learned programming. It was an excellent toy for 12yo me.
It was more of a toy.