The Check Engine light came on and I wonder, am I being ripped off?

My 2018 (Buick) Encore wasn’t running right. I took it to the dealer, and they told me that the intake manifold and the valve cover needed replacing.