That failed 1866 Freedmen's Bureau bill was closely related to the Civil Rights Act of 1866.
The 1866 Freedmen's Bureau bill and the Civil Rights Act of 1866 were closely related, both aiming to address the rights of freed slaves in the aftermath of the Civil War.