At one time Flake was a fairly decent and conservative congressman before he got pulled into McCain's orbit. This is the main problem of politicians like McCain: they not only provide bipartisan cover to screw up the country, but they capture and corrupt otherwise promising political leaders and either neuter them or turn them into part of the problem.
Lindsey Graham is another such example.