喉元過ぎれば熱さを忘れる(のどもとすぎればあつさをわすれる)

Japanese vocabulary

Meaning: danger past and God forgotten; once on shore, we pray no more; once it's past the throat, one forgets the heat (of the swallowed object)

See it used in real works