Prayer should bring us to repentance, and then transform our character. God revels in the repentance of sinners, but repentance involves much more than the empty words "I'm sorry", it requires a change of heart... A turning away from what offended. In fact, that is the literal meaning of the word; turning away.