Part of the fun of the game is analyzing and maximizing the mons capabilities.
But I have to admit.. you're pretty much correct. If I go after a gym, it doesn't matter what moves the defender has. I adjust for them immediately, and certainly have the resources to battle whatever is in the gym.
Although I'll still (maybe) pass by a friendly gym with a Blissey on bottom and 10000 prestige to go.