God will not forgive active sin | Answering the Atheist

Inquiry:
Does God forgive sins? 2 Chronicles 7:14, Jeremiah 31:34, and 1 John 1:9 says yes, but Joshua 24:19 says no. Is there a contradiction?

Does God forgive sins? 2 Chronicles 7:14, Jeremiah 31:34, and 1 John 1:9 says yes, but Joshua 24:19 says no. Is there a contradiction?