When people say you are pious or pretending to be pious.. Don’t let that get to your head or heart because no one, no one knows -not you, not them.
Piety is related to the heart and only Allah knows the state of your heart or your Eeman.
Don’t judge people and say that they are pious or they are not pious. We can’t judge. Allah alone knows. Leave the judgement to Him.