It can be, but it's not a rule. If you have a loyalty status with the chain then yes, it's probably cheaper to book directly. Also, sometimes hotel offer discounts to incentivize people to reserve with them in order to avoid paying fees to a 3rd party platform like Booking.com.