This isn’t to say you don’t have creative control over what happens. Quite the contrary, gratitude is the key to abundance. Responsibility is the key to freedom. Perhaps Thich Nhat Hanh put it most simply, “There is no way to happiness, happiness is the way.”
Ryan Holiday, borrowing from Marcus Aurelius describes this as turning the obstacle upside down. You often can’t control what happens, but you absolutely can control how you respond. Might as well turn everything to your benefit.