Thank you for reaching out to us and Welcome to the Wefugees community!
There have been a lot of questions on our platform regarding how to get a permanent residence permit in Germany, please have a look at them here:
Can I apply for permanent residence after three years?
How long do I have to be married to my wife until I can apply for a permanent residence permit in Germany?
Our asylum law expert Nilab provides some answers on the threads that can be helpful for you.
Here is some more information by a Germany Visa site: https://www.germany-visa.org/german-residence-permit/
Have a look at the paragraph about "Temporary Residence Permit - Marriage Purposes/ Employment Purposes" and the one about permanent residence permits below.
I hope this helps. Feel free to reach out to us again if you have any more questions!
All the best,