What you are seeing in both passages is correct, but to gain the greater understanding you need to see both sides of the truth together.
I challenge you to try this experiment: close your right eye and extend the index finger of your right hand. Line your index finger up with some object in the distance. Now, without moving your finger, close your left eye and open your right eye. It will look like either the object moved or your finger moved, because they are no longer aligned…but neither is true. You are just seeing from a different angle. God made our brains so that we take the signals sent to us from both eyes and put them together, so that we see the world in 3D. We can more accurately judge distance and shape because of this ability.
In a similar way, sometimes it seems that the Bible is contradicting itself, but upon closer study you will discover that it is not. What you are seeing in both passages is correct, but to gain the greater understanding you need to see both sides of the truth together…with “both eyes,” so that you can see spiritually in “3D,” so to speak. You’ll need to study a little harder, dig a little deeper, read the context of each passage, and see why it is being said and to whom it is being said. Then, go to the Lord and ask Him to help you see with “spiritual depth perception.”