Being happy doesn’t mean being perfect.
Pursuing perfection can lead to negative feelings as it is impossible to achieve. No one is perfect, we all have floors somewhere.
Aim for excellence or to be the best at something, keep your goals achievable.