It's about keeping non-citizens who don't have the right to vote from voting. Not implementing these laws diminishes the enfranchised.
The GP has linked some well sourced articles about how voter ID laws have been used for primarily racist purposes in the US. Do you have any evidence that supports another narrative?