Emmanuel Goldstein said this quote

The primary obligation of any prisoner is to escape. Whether that means actually leaving or simply figuring out a way to handle things so you don't go crazy is up to you.