That is a statute not “the Constitution.”
(That is a statute not “the Constitution.”)
In the founders ‘Frame’ of mind back then, they only wanted free White people of good character as the new citizens of the new country.