If you don't control a creature with power 4 or greater as your combat phase begins, Nessian Hornbeetle's ability doesn't trigger. If you don't control one as the ability resolves, it has no effect. It doesn't have to be the same creature at both times, however.

Artwork
Loading artwork…
Nessian Hornbeetle
Foundations · #229 · EN
Nonfoil—Foil—
Card rules
At the beginning of combat on your turn, if you control another creature with power 4 or greater, put a +1/+1 counter on this creature.
2/2
"The first rule of politics can be learned from a lowly hornbeetle: it is wise to cultivate powerful friends." —Pythamon, sage of Meletis
Uncommon · Illustrated by Jason Felix
Format legality
Alchemy Legal
Brawl Legal
Commander Legal
Competitive Brawl Legal
Duel Legal
Future Legal
Gladiator Legal
Historic Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Pioneer Legal
Standard Legal
Standard Brawl Legal
Timeless Legal
Tlr Legal
Vintage Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
PreDH Not Legal
Premodern Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
Nessian Hornbeetle's ability only gives it one +1/+1 counter, no matter how many creatures with power 4 or greater you control beyond the first.