Jesus is the bedrock on which you can build with the right or wrong materials; but there is no negotiation who the bedrock is.
But if the work is burned up, the builder will suffer great loss. The builder will be saved, but like someone barely escaping through a wall of flames. (1 Corinthians 3:15)