It definitely wasn't.
You can see that from how they've fallen back from the initial position. If that really was their goal, one thing they would have stuck to was the royalties.
I think this is unfair in that this is a description of your own perceptions rather than any realities of the board.
Whilst I've always said D&D's success was
more about structural market features than the quality of the RPG (which isn't to insult D&D in any way, note, I would say it's a good-quality RPG), it's actually the case that he same people who were saying D&D's success was due to quality primarily, with structural market features playing a lesser or even no role, are now saying "The OGL doesn't matter that much, this is a dumb move but it won't kill D&D".
So you're conflating a bunch of different people here. I'm going to call two people out in fact, hopefully they're cool with that -
@Oofta and
@Parmandur have both maintained, as far as I know, that 5E's success was primarily or entirely a reflection of the quality of 5E, certainly more than structural market factors, and both of them, and correct me if I'm wrong guys, maintain most people are not going to stop playing D&D as a result of the OGL stuff.
I don't think there was ever a majority opinion re: 5E's quality being more important than structural factors, I think it's more like most people didn't care, and 5E is was clearly a "good" quality RPG in terms of rules, and a very high quality one in terms of physical/artistic qualities of the materials (relative to the rest of the industry - albeit there has been some amazing catching up on that side in the last 2-3 years).