You're reading it wrong. The electorate is not a person.
You're arguing that every single politician that has ever run for office promising to establish a new government benefit or program is committing a felony. You're literally arguing that it should be a felony to run to create programs like Social Security or Medicare for All.
It's not illegal to run for office promising to offer stimulus checks or any other government program. Unless you're an Ayn Rand type, this is not a standard you should be advocating for.
The word "person" is where you're failing in your analysis. A person means a specific person. It's illegal to offer promises to individuals to vote or not vote. It's not illegal to make promises you'll enact certain policies if you win.
When you offer the same benefit to everyone, no one is actually being directly rewarded for voting. The voters and nonvoters benefit alike. If you tried to pass a "Medicare for all Voters" act, only giving a benefit to those who cast a ballot, that might violate this law. But even that would have the problem that if in the form of a new law, it would just override the old law.