I think you’re the one with the ego dude, berating the immigration officer for doing his job and being honest with you and proclaiming that you’re entitled to be here because of whatever amount of money you claim to spend here.
You got 30 days with the possibly of an extension, it’s not a guarantee and your Ed visa doesn’t mean anything unless it’s in your passport when you present it to the IO.