God will accept the sacrifices of a broken spirit and a broken and contrite heart. He is looking for sorrow for sin (godly sorrow that leads to repentance) and humility. Then the heart will be changed and the lips will show forth the praises of the Lord.