yes your correct.we should let go the past pain,
this verse explains about the pain (suffer) that we will gain if we do wrong things, "If one speaks or acts with an evil mind, 'dukkha' follows him just as the wheel follows the hoof print of the ox that draws the cart."