We have this obscure system that has been around for a few thousand years to do this. It's called "taxes".