Buddhism tells us that the pain we feel at this time is rooted in our past (including past lives), and the happiness we feel at this time is rooted in our past (including past lives). This is the law of cause and effect, which is called good and evil are rewarded. No one can guarantee that there is no evil in his past, so it is impossible to have everything good in this life.
In addition, in Buddhism, what we want is good luck and happiness, and it is only one thing to ask for the blessing of Buddha and Bodhisattva. On the other hand, we must be able to do what the Buddha and Bodhisattva taught us in our lives: all evil should be avoided and all good should be pursued.
If we can really do this, persevere and take it slowly, we can change our bad fate and become happier and happier.