Michael I'd say there is a difference between confidence and cocky.
The day you swing a leg over your bike without doing the basic
TCLOCS (at least look to see if there is a puddle under the bike, the tires are round all the way around, and the brake and turn signals work) or you are waiting to enter the road and the thought that comes to mind is "I can beat that guy" - you're getting cocky.
I haven't got that many miles as a motorcyclist but I've probably got 17,000 - 18,000 on a bicycle on the road in the last eight years and trust me, your head has to be on a swivel.
Just keeping thinking and you will be fine.