Complex sentence: They knew the Ring was doomed but they also believed they had time to finish their own projects first-foremost was finishing the job of annihilating humanity.
Split into simpler sentences: They knew the ring was doomed but they also believed they had time to finish their own projects first. Foremost was finishing the job of annihilating humanity.