Buddhist practice, in general, isn't interested in creating fantasy ideals, and it also isn't really a mere philosophy - it's a practical method with some ethical and social teachings. That method is designed to bring you into intimate contact with the "realities of desire and personhood", which most of us are almost entirely ignorant of, and avoid confronting through the pursuit of pleasure and avoidance of pain.
Actually, happiness is the ultimate goal of Buddhist practice - happiness free from conditions. If you had an accident during a hike and couldn't hike any more, you developed issues digesting certain foods such that you couldn't eat what you consider good food any more, your loved ones passed away or left, presumably your happiness would also take a hit with those things, the things you depend on for happiness. Buddhist practice doesn't preclude doing any of those things, it just trains the mind not to rely on them for wellbeing, and to find a deeper source of wellbeing that can always be contacted regardless of current circumstance.