Han Li had anticipated that the medicine pills would eventually lose their effect on him. While medicine pills are able to rapidly progress one's cultivation, it possessed its own flaws. When one's magic power reached a certain level, the original medicine pills would lack the medicinal power to be effective. Additionally, with his meridians being purified from the lingering effects of the rainbow beads and his continuously increases in magic power, Han Li became capable of absorbing more spiritual power in one instance. He had reached a stage where his speed at absorbing Heaven-Earth spiritual Qi was nearly the same as absorbing spiritual power from medicine pills.
Of course, this resulted in medicine pills gradually losing their original efficacy. Consequently, even if Han Li took a large amount of Foundation Establishment level pills they would have no effect on him.