Works are not done to EARN salvation (think thief on the cross), works are done to DEMONSTRATE salvation.