There are different kinds of judging. You should examine the context to find out what if meant in each case. In the final quote you cited Paul clearly made such a distinction in pointing out that a church must judge its own members but leave judgment of outsiders to God.
His invisible attributes, namely, his eternal power and divine nature, have been clearly perceived, ever since the creation of the world, in the things that have been made. So they are without excuse.
Romans 1:20 ESV
Romans 1:20 ESV