Use "ingrained habit" in a sentence

1. From ingrained habit he paused to straighten up the bed.

2. Amelia loved poetry and had an ingrained habit of retreating into it to handle difficult situations.