This is a pretty common misconception. Nearly all economics agree that free markets are good, immigration is a net benefit, rent controls are bad, congestion pricing is good, lowering corporate tax rates are good, the gold standard is a bad idea. Politicians disagree on all or most of these things, but nearly all economists are in consensus about this stuff.