Does God do injustice to man?

Question:

Does not God then do injustice to man by requiring of him in His Law that which he cannot perform?

Answer:

No, for God so made man that he could perform it, but man, through the instigation of the devil, by willful disobedience deprived himself and all his posterity of those divine gifts.

~

Heidelberg Catechism (Q9; 1563)