Science is philosophy, though what one might describe as applied philosophy. The point being: science (the scientific method) cannot exist outside the context of some epistemic system.
I saw your 'recommendation' to read about Hume further up the comment chain. Respectfully, I know more than you. Take your own suggestion. But don't just read about Hume; get a broader intro to the subject so you can understand how ontology, epistemology, ethics, and politics tie into one another.