Retirement tax questions

Yes. I want to take $5K out of an IRA and SEP to then use that toward the same IRA and SEP accounts for 2019 in order to reduce taxes paid. My fed tax more than doubles if I don’t make the contributions. Seems sillier not to do this, then worry about the taxes for 2020.