Did they have archery in ancient Greece Olympics?

No. The original Olympic Games were more about prowess than skill. The games favored the strong over the precise. Originally there was only running, but later, events included wrestling, pankration (think something like MMA), discus and javelin throwing, and jumping.