Imo, competing is just as fun as training. The purpose of gymnastics is to see how far you can push your limit safely. The purpose of competition is to show everyone else that you can do it better than they can.
If you have a coach like me, then you can get whatever you want out of practicing. If you are surrounded by those who strive only for the competition (I don't know too many coaches like that personally...) Then you may miss out.
Good luck! Be safe! And keep on loving gymnastics. There really is nothing like it in the world...