Godebski served in the Polish Legions from 1798 until 1801. From 1803 to 1806 he became, together with Ksawery Kossecki, publisher and editor of the "Zabawy Przyjemne i Pozyteczne" almanac. From 1805 he was a member of the Friends of Science Society. In 1806 Godebski joined the Polish Army of the Duchy of Warsaw; he had become disillusioned with the policy of Napoleon towards Poland. He died in the Battle of Raszyn in 1809.