For folks new to the discipline of arms, I think mindset is perhaps the factor that determines success and safe handling.
Training from a competent (professional with references) instructor is at the beginning of the journey, worth more than the "right" pistol. I'd almost go so far as to say that the money that you'd invest in a personal firearm would be better spent on firearms training with a professional. Even better if the training is one-on-one.
With the correct investment in knowledge and training, you will be saving yourself money in the long run, in that (I'd wager) you'll be making a more self-aware and educated decsion as to the kind of pistol that suits your needs and style. In a sense, what you learned is less about pistols and more about yourself, but that's another chapter.
A good instructor will be able to provide different platforms for your lessons, e.g., 1911s, revolvers, MPs, Glocks, XDs, HKs, CZs, Berettas, etc. You'll have the benefit of trying different platforms during your lessons and you'll have the benefit of professional-grade training.
Good luck.