The role that pride has in this world is to be proud of what you can do but give the glory to God. You should always give it your best shot. But you should always thank God for the gift that He has given you. If you are “stealing the glory”, then as a rule there is no glory to steal. If you give the glory to God, then things will work out better for you.