Yes, if you forgive others for the wrongs they do to you, then your Father in heaven will also forgive your wrongs.