This can be written as a statement. Alternate translation: "Even if a person gains the whole world, it will not benefit him if he forfeits his life." (See: [[rc://en/ta/man/translate/figs-rquestion]])
The words "the whole world" are an exaggeration for great riches. Alternate translation: "to gain everything he ever wanted" (See: [[rc://en/ta/man/translate/figs-hyperbole]])