You can be a good photographer, but not be a successful photographer when it comes to business.
When it comes to being successful in the business of photography you need to put your efforts equally into being a good photographer and into the business aspects photography.
If you just put your efforts into one, that doesn’t guarantee you anything.
If you wholeheartedly put your efforts into both and you’re dedicated, then you’ll probably be successful as long as you are making good decisions about what you are doing.
Learn about the business of photography.