It could have been sold {We could have sold it} for ◄a huge amount of money/an amount of money for which a person works for a year►, and then the money could have been given {we could have given the money} to poor people!” So he rebuked her.