Why does it sometimes take a painful incident for you to “learn your lessons?”  That is the human way.  You are pleasure seekers.  It is built into your brains.  It is a survival mechanism.  Were it not for pain, you would self-destruct far sooner.  Be grateful for the pain.  Instead of cursing it, ask it what it has to teach you.  There are any number of lessons in each attention-getting incident, most especially when the pain is self-inflicted.  You are so very loved.