what is it called when someone takes one instance of something being inconsistent and applies it to everything?

This is called the fallacy of overgeneralization or hasty generalization. It involves making a broad generalization based on limited or insufficient evidence.