What kind of photos you’re planning to take? For example, my opinion, if you’re going to use the Nikon in the studio, it’s OK but if you are willing to take some photos outside as motion photos, you should consider Canon instead.
Most of the time, the cameras are pretty much the same but the important part is the lenses. I believe it comes with classic 35mm and you won’t be able to use it after a while. Considering the Canon lenses are more common (in most of the countries) so you could find good second hand as well.
Speaking of second hand, if you’re willing to learn how to take photos, it’s always suggested to use second hand camera to save money.
On the other hand, it doesn’t mean that you will take good photos even if you pay thousands of dollars, it’s up to you and your skills. Think about it as a long term investment and don’t expect anything at least in a year. There’re lots of people outside who claims they are photographer with really good cameras but I know few girls who’s able to take better photos with their iPhones compared to them (not talking about selfies)