The spell helps you get out of trouble. Xom considers such spells boring, and will not gift spellbooks containing them. Furthermore, the spell is an option when control-clicking yourself in tiles mode.