This is foundation of American democracy actually. In the early history of the U.S., most states allowed only male adult property owners to vote (about 6% of the population).
https://en.wikipedia.org/wiki/Faithless_elector
https://en.wikipedia.org/wiki/Faithless_elector