Nineveh would be a biblical example of national repentance. Just for your consideration.
Only individuals can repent of their own individual wrongs. If a large number do it altogether, it’s still individuals.