Good works are necessary but not sufficient.
Faith is necessary; good works are evidence of faith and salvation.