Could you share maybe some more details on your situation? I just understood from your last comment, that your are holding a "Duldung", correct? Can you explain the reason for the Duldung or provide any law the Duldung is referring to?
One other issue: Are you aware of the possibility to get a residence permit for people having a Duldung for more than 8 years (Section 25b of the German residence act: "Granting of residence in the case of lasting integration")? You can find the law here: https://www.gesetze-im-internet.de/englisch_aufenthg/englisch_aufenthg.html#p0583.
Depending on your individual situation, you might be able to apply for a residence permit accordingly.
I hope these information are useful for you and please get back to us if you want to discuss your case further.
All the best,