whether becoming an IT expert becomes your success like Larry Page. Not necessarily because success is a luck factor. whether the confrontation is on your side. but if the guidance is not on your side, you do not expect to be a person even if you work harder or become an expert though.
It's a bit of both but more towards you working hard for it. If you don't work hard to be successful you ain't gonna be anywhere but you'd need luck getting into high paying jobs.
Success comes from hard work, patience, and dedication. Luck plays only a small factor in this since you still have to do stuff and get yourself out there to even get "lucky" in the first place.