In an English translation of Dua Mashlool there is a verse saying Allah (SWT) forgave the sin of David (as). Is this translation correct because the Prophets are righteous and never choose to sin?
It is a wrong translation. All the Prophets are infallible and no Prophet committed any type of sin. Some acts from the prophets are not accepted by some people and called by some as sinful acts but it is in fact never sinful acts according to Allah.
Wassalam.