ABC:1 Peter 2

Verse 12: Should Good Works Be Seen? (FFRF)
Dan Barker of FFRF claims there is a contradiction here and makes the following comments (italicized):

Should Good Works Be Seen? Matthew 5:16 Let your light so shine before men, that they may see your good works, and glorify your Father which is in heaven. 1 Peter 2:12 Having your conversation honest among the Gentiles: that, whereas they speak against you as evildoers, they may by your good works, which they shall behold, glorify God in the day of visitation. vs. Matthew 6:1-4 ¶ Take heed that ye do not your alms before men, to be seen of them: otherwise ye have no reward of your Father which is in heaven. Therefore when thou doest thine alms, do not sound a trumpet before thee, as the hypocrites do in the synagogues and in the streets, that they may have glory of men. Verily I say unto you, They have their reward. But when thou doest alms, let not thy left hand know what thy right hand doeth: That thine alms may be in secret: and thy Father which seeth in secret himself shall reward thee openly. Matthew 23:3-5 All therefore whatsoever they bid you observe, that observe and do; but do not ye after their works: for they say, and do not. For they bind heavy burdens and grievous to be borne, and lay them on men's shoulders; but they themselves will not move them with one of their fingers. But all their works they do for to be seen of men: they make broad their phylacteries, and enlarge the borders of their garments,

Jesus when doing miracles took this a step further, strictly telling those He healed not to tell anyone about what He'd done. (Mt. 8:4; 9:30; 12:16; Mk. 5:43; 7:36; Lk. 5:14; 8:56) As should be readily apparent, there is no contradiction here. Matthew 5:16 does not say to do good works before all - obviously those receiving alms will "see your good works and glorify your Father which is in Heaven." Matthew 5:16 is not a commandment to do alms openly in contradiction of 6:3, but to do them at all.