Allah burdens not any soul beyond its capacity. (2:287)

The commandments of God are always given with due regard for human capacities and weaknesses.

All that man is expected to do is to sincerely strive after good, and avoid sin, to the best of his power, and the rest will be forgiven him by the Merciful God.