The actual situation is that the politicians are paid by outsiders who write the bills which the politician then submits. It's like outsourcing to North Koreans but getting paid by them as well as your actual employer.

I think what you’re missing is that a politician is a face for an organization with staff who do things like write bills.

That’s literally the function of politicians - to personify a group.