Ephesians 3:13 I ask you, therefore, not to be discouraged because of my sufferings for you, which are your glory.
How many times have you doubted your faith after seeing a great person of God come to some horrible fate?
We should not be discouraged when bad things happen to good people – this is just the world and the evil in the world fighting against us all.
The evil one will use any means available to try and get you to doubt your faith – be it through a friend or through something which happens to you. It is not God punishing you in some way!