first of all, welcome to the Wefugees community!
If the immigration office ("Ausländerbehörde") issued a Duldung, it will unfortunately most likely mean that the BAMF decided negatively on your case. Duldung by law means "temporary suspension of deportation" and the deportation is officially only suspended as long as the reason for the suspension continues to exist (i.e. missing documentation, health reasons, security situation in country of origin etc.). I would highly recommend you to consult a counselling office or a lawyer to discuss potential other options you might have for residence and to clarify your overall legal status.
Please feel free to get back to us with further questions also, we will try our best to support.
Kind regards and good luck,