骨に刻み、肝に銘ずる

Etymology
. Literally "carved on one's bones and set in one's liver."

Idiom

 * 1) To have one's resolve carved on the forehead.