Allah wanted the people who have made sins to turn from...
Allah wanted the people who have made sins to turn from their sins and make up for them in order to be near to Allah through gaining His satisfaction, for He has promised to accept their repentance and forgive the sinner.