Liberal voters rebuked Democrats on a clear choice about living costs.