Notice that the riches are cursed because they were hoarded up by "strifes, malice, persecutions, and murders."
Samuel had a harsh denunciation of these people because of the way he had been treated. He said they are even worse than those who rejected the prophets in the past.