precious resources are squandered by the extraordinary wizard to keep the tower in its garish state of opulence , resources that could be used for healing the sick or making the castle a more secure place for all to live .