Lyric discussion by Aider 

Cover art for The River lyrics by Imagine Dragons

The main idea of the song is cleansing: It's not only that the speaker tries to wash away someone else's sins he has not committed. He perceives his cleaning as senseless as he notices that he washes away his sins only for the purpose of rising in other peoples' favor. Essentially, his sins are just sins in the eyes of the others.