What they do in legislation isn't the full story, either. People vote against bills that sound like good ideas because there's something nasty subtly buried inside them. People vote for bad bills to collect votes for good ones.
Someone who kept a pristine voting record would not actually get anything done.