Self employed

In that case, I pay $5000 tax upfront, and get taxed again for the $25,000 when the actual contribution to Roth IRA is $20,000? 

What's the point of paying the tax upfront then?

Isn't it more wise for me to wait until the tax filing?