I don't understand why some doctors diagnose women with pcos and tell them that they can't have kids???

I see some women say that the doctor diagnosed them with pcos and that they cant have kids. Why would they tell someone that they just diagnose with pcos that they can't have kids??? I thought you CAN have kids with pcos but it would just be a little harder?