The polls were right in 2016 in that Clinton did win ~3Million more votes than Trump. The problem was with polls in some states that ended up being crucial for an electoral college win. Hopefully 538 (and other similar organizations) have learned something from that and have made some adjustments.