Hard to say why using poles make your knees hurt.
Poles do tend make your stride longer. Warm-ups before you start hiking may help with that.
Maybe do like many do, don't use them on flat ground, use them for crossing boulders, uphills, downhills, streams, etc...
Maybe only take one and only use it when it helps?