The poor are not irrational; they are just as rational as anyone else, but they operate under very different constraints.
The novel is an act of rebellion against reality, an attempt to reshape the world according to one's desires.