The Buddha did not deny that there is happiness in life, but he pointed out it does not last forever. Eventually everyone meets with some kind of suffering. He said:
"There is happiness in life,
happiness in friendship,
happiness of a family,
happiness in a healthy body and mind,
...but when one loses them, there is suffering."
Totoy's Inks and Needles