-->
The particle li prefixed to the subsequent verb is evidently what the grammarians call a lam al-'aqibah: i.e., not an indication of intent ("so that") but simply of a causal sequence, which is best rendered as "and", "and so", or "hence".
There is fine grading in the Hereafter. Every deed, good or bad, is judged and weighed to the minutest degree, with its motives, intentions, results, and relevant circumstances. It is not a mere rough classification. The fruits of evil will be exactly according to the degree of evil. But, as stated in other passages (e.g., xxviii. 84), the reward of good deeds will be far beyond their merits, on account of the Mercy and unbounded Bounty of Allah.