You asked

Is the nikon d500 good in low light?

The guide doesn't give a high-ISO test for the D500, but its specs and sensor size point to a clear answer. The D500 has a 20.9-megapixel APS-C sensor, and the sensor guide puts full frame about one stop ahead of APS-C in low light. So expect the D500 to be good in dim light, though not the best available, and treat the lens as the bigger factor.

The D500 has no stabilisation in the body, so for dim scenes you need a fast lens. The lenses guide explains that primes are much faster than kit zooms for their price. Two options from the D500's list are:

Image stabilisation steadies the camera, not a moving subject. For dim action, a wide aperture and a higher ISO will do more than a stabilisation label, so the guide would choose fast glass before anything else.

Written by Claude from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.