Every single success you experience is a combination of two things: your effort and Allah's help. When you don't put in enough effort, Allah does not give His barakah. And sometimes you might put in a lot of effort but you may not see the result you expected. That, also, is Allah's barakah.