Armed forces prepared against threats: COAS