Although your statement is very misleading, the first part is correct. However, there is a lot missing, and the missing history would disprove your other statement. So let's fill in that history.
After Lincoln's assassination, Andrew Johnson, a Democrat, became president. He was very weak, handing out pardons and amnesties for the Democrats that rebelled. It was under his administration that the ku Klux Klan was formed. Then came Ulysses S Grant. Although seen by some scholars as weak, he was actually a very strong president, doing what he could to stop the violence in the south. The next period is the era of Jim Crow, where Democrats pass laws with arbitrary restrictions to keep blacks and other minorities from having civil rights. They were very dominant in the south in the 1920s and 30s. But as Republicans started to push back, the Democrats saw more of their racist laws being repealed. And with the passage of the Civil Rights act of 1964, they adopted a new strategy. They decided that if the minorities that they had fought so long to prevent from voting we're going to vote, then they might as well be voting for democrats. So they began pandering to them and thus started the slide into where we are today, critical race theory and such. But they always made sure to keep blacks dependent on them, in welfare programs, and government housing. The partyies' positions never changed. The Democrats simply modified their outward appearance.