Why did God make Job repent when he was innocent?

God didn't make Job suffer because of his sin. Is to make him more complete, through the environment and suffering, with seven times the fire to purify his inner sin and self-righteousness.

Chapter 29 -3 1 job's inner world broke out completely, narcissism, narcissism and self-love, self-appreciation, 158 self-chapter 3.

Chapter 32-37 Elihu is ready to speak.

Chapter 38 -4 1 God speaks for himself.

It is self-righteous to let Job see the cancer hidden in his depths.

So job repented in the dust and ashes, and really knew himself and God.

Chapter 42 God saved Job from suffering.

Before Job suffered, God had prepared a blessing for him:

James 5: 1 1 We call those who were patient before blessed. You have heard of Job's patience, and you know the end of the Lord for him. Obviously, the Lord is full of compassion and compassion.