This is an example of moral hazard.
Moral hazard refers to the phenomenon where individuals lack the incentive to protect themselves from risk or accidents because they are relying on the fact that they are protected by insurance. An instance of this is when an individual decides to skydive because he or she knows that they will be covered by their health insurance in the event of an accident or injury.