Several commentors have written this advice, but almost always if I check the hotel website directly I see much higher prices than what are offered on booking. hotels.com, or agoda.
However, with flights and flight search websites I do sometimes see close to equal pricing, and in that domain I almost always check the airline website itself and book directly when possible.