Actually no. The first commandment says:
"I am your God, don't have any other Gods besides me."
or something like that... You are sinning if you love material things more than God as you have "another god" who is more important to you than he is. Buddha just stole that.
You can't get into heaven if you're not ready to leave everything earthly behind when God wants it. And with everything earthly it means EVERYTHING! Be it material or not, as long as you have some kind of access to it while you are alive it is earthly.
Example: Sex
If you love Sex more than God, see you in Hell if you are afraid to leave it behind. Same goes for your very life. It is the earthliest thing ever.