That's like saying that the role of elected officials is to represent their constituents and serve their interests, treating them all with full equality under the law.
It's a nice statement, but it's completely idealistic and doesn't accurately describe what actually happens in practice.