Vidura Neeti in the Mahabharata is a fine refutation of this criticism
But strangely it seems rather underrated
While it is very widely known, it does not hog as much attention either among lay people or academics as the Bhagavad Gita or for that matter Brahma Sutras
So though it takes the form of a dialogue between DhrtarAshtra and Vidura, its relevance is not just for statesmen, but for anyone who is engaging in social interaction
There are verses in Vidura Neeti which we moderns might find abhorrent.
But most of it is timeless
It starts with Vidura's characterization of a "Pandit"
Like this one which brackets women rather oddly
"Do not place your trust in the following:
A woman
a cheat
a lazy person
a coward
a habitually angry man;
a man arrogant about his manliness
a thief
an ungrateful person
an atheist
Vidura Niti acknowledges caste. But its advice transcends the social realities of its time
Given that it is part of Mahabharata, perhaps it comfortably predates other celebrated similar works like Chanakya Niti.
Though one cannot discount the possibility it is a later interpolation in Udyoga Parva
A text that presents an interesting contrast to ethical cogitations in other parts of the classical world. E.g. Aristotle's Nicomachean Ethics.