Buddha said that there is a suffering in life which he confirms. And it is not a imagination. And he says that sufferings comes from avidya / avijja or ignorance. And he has given eight fold path and middle way / madhyam marg to overcome sufferings in the life. In short there is presence of suffering and we can overcome it withthrough eliminating the ignorance.