思前想后

思前想後
qiánxiǎnghòu
  1. to consider past cause and future effect (idiom); to think over the past and future
  2. to ponder over reasons and connection

CEDICT

Entry Composition