At least he closed the borders. Russia as well. EU can't even do that.
There are legal and logistical challenges in preventing US residents from entering or imposing quarantine.
Would strong or (more importantly) earlier responses have been good? Absolutely! But a weak and late response is much better than an even later response (even if the later response is stronger).
By the numbers we should prefer a non-US-resident ban-- even without screening/quarantine-- on day 20 than a everyone-ban on day 40.