Meaning of komemiyyut (קוֹמְמִיּוּת)
There is no contradiction between sifra (and Rashi) and the Gemara in Kiddushin. The meaning of “erect” in the Gemara means something along the lines of “walking with arrogance ”. It is assur to walk with arrogance, because it is like pushing HaShem away (Rashi ad. loc.), ie,…Lo ani · miyodeya · CC BY-SA 4.0