to swear up and down
Ele tinha jurado de pés juntos que não tinha roubado nada.
He swore up and down that he didn't steal anything.
The expression is traced to the Inquisition. On the Iberian Peninsula, the accused were interrogated under torture with their feet bound together (or hung upside down), and made to swear to the truth of their words in that position.
Source: Gramática.
Falando's Idiom Trainer teaches you to recognize idiom meanings and create sentences using them, so you can speak like a Brazilian.