You asked

Is the nikon d500 a good body for a 90mm macro lens if I also shoot wildlife?

The Nikon D500 suits both jobs. Its APS-C sensor gives a 1.5 crop, so a 90mm lens frames like about 135mm. That is a useful reach for small wildlife and birds, and it still focuses close. The body has no stabilisation, so pick stabilised lenses for slow shutter speeds. The lens list on the Nikon D500 page doesn't show a 90mm macro, so check the full list before buying one.

If you want one lens for both, the zooms with macro focusing are the simplest route:

If wildlife is the main job and macro is occasional, a long zoom such as the Sigma 150-600mm f/5-6.3 DG OS HSM Sports gives serious reach. It is not a macro lens, so you would carry a second lens for close work. The guide's wildlife and sport picks favour an APS-C body with a long zoom as the best value reach, which fits the D500 well. Long lenses are heavy and cost more than their APS-C equivalents, as the sensor sizes page notes. Long lenses also hold their value, so buying one used can save a lot; see buying used.

Prices aren't listed on these pages, so check current shop prices before you decide.

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}.