phrase/bjɛ̃ lɥi ɑ̃ pʁi/
good for him/her, it was the right choice (to)
“Bien lui en prit, car Nicolas se trouvait justement là, assis à sa table de travail.” — That was a good decision, since Nicolas was just there, sitting at his desk.
From the turn of phrase prendre à quelqu'un de faire quelque chose.