I had a similar experience – though in my case the instructor wasn't on an ego trip, he just wasn't interested. It was very demotivating: he was always late and then just sat there moaning about pay and conditions. Now I have a lot of sympathy with his plight, but given the amount I was paying for the lessons I felt it showed a distinct lack of professionalism on his part.
In the end I got fed up and asked to change instructors. The school was very good about it and asked me what sort of approach I preferred, and now I've got an excellent instructor.
I think the problem is that many instructors are in it to build up their hours for that airline job rather than because they enjoy instructing. Again, I don't blame them – that's the way the system works – but too often it means that it's the students (who are after all forking out considerable amounts) who suffer.
But don't let the bad apple put you off such a fantastic experience. Go to your local flying school, explain what happened, and tell them what sort of attitude you prefer in an instructor. Then talk to the instructors they recommend on the ground, before you even get in the plane. You can usually tell within a few minutes whether you're likely to get on or not! But don't give up completely...