No, quite the opposite. The jedi just didnt believe in attatchment. They beleived that you needed to give up compassion and attachment so you dont have anything to tempt you to be selfish, which can cause you to be greedy, and can lead to the dark side.