Gamers nexus did a cost analysis. The valve tax was something like 76$. Steam deck is similar from what i recall, they just want to get the hardware out so people use steam. And they dont lock it down either, SK they can't sell it at a loss like someone like Sony can.
You gotta respect that. Of course people will bitch about the price, but that's not valves fault.