I don't read courtroom fiction to learn proper court procedures.
I don't read horror fiction to learn how to hunt ghosts.
I don't read Mystery fiction to learn how to be a better detective.
Why on earth (or off) would I read science fiction to learn science??
Can't we just read fiction to be entertained?
I would take your point in that I don't wish to learn about science from my SF unless I have picked something I know is good accurate hard SF, which I
sometimes do. I certainly don't expect all or even most of my SF to conform to this. I thoroughly enjoy an FTL space opera as much as any SF enthusiast. However:
I will be upset by a court procedure novel if those procedures are blatantly wrong/illogical.
Can't say much about ghosts as I know nothing about them.
I will be upset by a crime thriller iF the detective uses method that patently will not work are illogical or just wrong.
So I want to be entertained but I don't want to read an SF novel where the captain of the ship, in dire straits, suddenly casts a spell and all is saved. Science fiction is, by it name, associated with science; introduce speculative science, that's fine, but don't break known laws of science or if you do postulate a new, speculative technology that makes it possible, like Weber's compensators (I think that's what they are called) that protect the crews from the effects of inertia, permitting accelerations in the realm of hundreds of Gs, and also considers the implications of the failure of said compensators.
It is not necessary to provide a full scientific paper explaining the science but it should have at least been considered. An example of the opposite was a book I read some years ago where the seasons were caused not by the planet's tilt but by a highly elliptical orbit, which is perfectly possible, except they still had summer in the northern hemisphere whilst it was winter the southern at the same time, which isn't possible.
Science fiction doesn't have to be a course in physics but it should be consistent with known laws and also consistent in its use of any added speculative science such as the Dune stuff already mentioned by
@Onyx.