Filing for chapter 7 bankruptcy will hurt your credit score and remain on your credit report for 10 years.