You did Exactly what you were supposed to do,& as you were giving him CPR,i dont think you had ill intentions.U C, you are supposed to crack his sternum
so that his heart can be compressed,sending blood & oxygen
through his veins into his brain thereby keeping him alive! You did your best to save the man! Give yourself a pat on the back instead of doubting yourself ,GODBLESS U & yours with Peace,Happiness & Love!