When Perilous Myr dies, it deals 2 damage to any target.
If your life total is brought to 0 or less at the same time that Perilous Myr is dealt lethal damage, you lose the game before its triggered ability resolves.