Contradiction with Matthew 6:1
Nehemiah 11:1 describes people willingly coming to live in Jerusalem to fulfill a communal duty, which can be seen as displaying a public act of service, whereas Matthew 6:1 cautions against performing acts for the sake of being seen by others.
Matthew 6:1: Take heed that ye do not your alms before men, to be seen of them: otherwise ye have no reward of your Father which is in heaven. [alms: or, righteousness] [of your: or, with your]