They came willingly, sold their property willingly, and it was only when withholding the proceeds that they were rebuked. They were even instructed to sell it, not just give it away.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.