If it's not from a metaphysical point of view, bad luck may just be a downturn in your state, plus you are very sweet about the external environment or life, and your subjective consciousness feels that you can't do it. At this time, you should increase your confidence and believe that you can do your best, instead of throwing cold water on yourself.
In short, when the luck is bad, people who don't expect anything in return do more good deeds, Dobusch. Don't feel sorry for yourself, accumulate more knowledge and experience and create opportunities for yourself. Believe in hope and good luck will come soon.