You asked

Is the pentax k 500 good for wildlife?

The K-500 works well for wildlife, mainly because of its APS-C crop factor of 1.5. A 150mm lens frames like 225mm on it, so you get reach without paying for a bigger camera. The lens matters more than the body here, so start with a long telephoto. Good picks from its catalogue:

For birds in flight, aim for 1/2000s or faster. That pushes ISO up, so keep an eye on noise. See Wildlife and sport for more, and Buying used if you want to try a long lens without a big spend.

Written by Claude from this site's pages.

From these pages