Contradiction with Matthew 6:5
This verse discourages public displays of worship for attention, whereas Psalms 27:4 emphasizes public dwelling in the house of the Lord as a source of delight and beauty.
Matthew 6:5: And when thou prayest, thou shalt not be as the hypocrites [are]: for they love to pray standing in the synagogues and in the corners of the streets, that they may be seen of men. Verily I say unto you, They have their reward.
Contradiction with Ecclesiastes 5:1
Here, caution is advised in approaching God’s house, warning against impulsive worship, which contrasts with the unreserved longing for God's house expressed in Psalms 27:4.
Ecclesiastes 5:1: Keep thy foot when thou goest to the house of God, and be more ready to hear, than to give the sacrifice of fools: for they consider not that they do evil.
Contradiction with Matthew 6:6
Encourages private prayer, which contrasts with the desire for public dwelling in God’s house found in Psalms 27:4.
Matthew 6:6: But thou, when thou prayest, enter into thy closet, and when thou hast shut thy door, pray to thy Father which is in secret; and thy Father which seeth in secret shall reward thee openly.