The writer is expressing the opinion that the (many) possible scenarios are of inestimable value . That is the meaning of infinite riches . I don't see a unique 'pattern' here.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.